dub-remove(1)

dub-remove1

Removes a cached package

Usage

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

Overview

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

Online documentation

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

Releases

5 releases since Debian 10 (Buster); the text changed 4 times.

  1. 10
  2. 11
  3. 12
  4. 13
  5. Arch

--non-interactive since Debian 13 (Trixie); -n since Debian 13 (Trixie).

Author

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

From dub 1.42.0-1 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.