Skip to content

flox uninstall command

NAME

flox-uninstall - remove packages from an environment

SYNOPSIS

flox [<general options>] (uninstall|rm)
     [-d=<path> | -r=<owner/name>]
     <packages>

DESCRIPTION

Uninstall packages from an environment.

Just like package installation, package uninstallation is transactional. See flox-install(1) for more details on transactions. Requesting to uninstall multiple packages where at least one of them was not previously installed will cause the transaction to fail and no packages will be uninstalled.

OPTIONS

Remove Options

<packages>
The install IDs of the packages to remove.

Environment Options

If no environment is specified for an environment command, the environment in the current directory or the active environment that was last activated is used.

-d, --dir
Path containing a .flox/ directory.

-r, --remote
A remote environment on FloxHub, specified in the form <owner>/<name>.

General Options

-h, --help
Prints help information.

The following options can be passed when running any flox subcommand but must be specified before the subcommand.

-v, --verbose
Increase logging verbosity. Invoke multiple times for increasing detail.

-q, --quiet
Silence logs except for errors.

SEE ALSO

flox-install(1)