dub-remove - Man Page

Removes a cached package

Synopsis

dub remove <package>[@<version-spec>] Options...

Description

Removes a package that is cached on the local system.

Options

--version=VALUE

Use the specified version/branch instead of the latest available match The remove command also accepts "*" here as a wildcard to remove all versions of the package from the specified location

--force-remove

Deprecated option that does nothing

-n, ā€‰--non-interactive

Don't enter interactive mode.

Common Options

See dub(1)

Exit Status

0

DUB succeeded

1

usage errors, unknown command line flags

2

package not found, package failed to load, miscellaneous error

Files

dub.sdl, dub.json

Author

Copyright (c) 1999-2023 by The D Language Foundation

Online Documentation

http://code.dlang.org/docs/commandline

See Also

dub(1), dub-clean(1), dub-clean-caches(1)

Referenced By

dub(1), dub-clean(1), dub-clean-caches(1).

2023-07-24 The D Language Foundation