rux uninstall

Purpose

Uninstall dependencies from the local cache

Synopsis

rux uninstall
rux uninstall [namespace]/[package]
rux uninstall [namespace]/[package]@[requirement]
rux uninstall [options]

Behavior

Without an operand, removes cached versions of dependencies declared by the current manifest. A namespaced identity removes all matching versions, or only versions matching an @requirement. --global is mutually exclusive with an operand and clears the package cache.

Arguments

ArgumentRequiredDescription
packageNoA namespaced package identity and optional requirement

Options

OptionDescription
--globalUninstall every package in the global environment cache

Global options may appear before or after the command. See Global options.

Output and exit status

Primary results are written to stdout. Progress, warnings, and errors are written to stderr.

Success exits 0, invalid command-line usage exits 2, and compiler, validation, filesystem, network, or generation failures exit 1 unless stated otherwise above.

Examples

rux uninstall
rux uninstall Rux/Json
rux uninstall Rux/[email protected]
rux uninstall --global

Environment variables

LOCALAPPDATA on Windows or HOME elsewhere determines the user package cache.

The global color environment behavior is described under Global options.