Commands#
The conda command is the primary command-line interface for managing
conda environments and packages. You can use conda commands to create
environments, install packages, update packages, remove packages, search for
packages, and inspect your current conda configuration.
Common commands#
Some of the most commonly used conda commands include:
conda createCreates a new conda environment.
$ conda create --name myenv python=3.12
conda installInstalls packages into the active environment or into a specified environment.
$ conda install numpy pandas
conda updateUpdates packages in an environment.
$ conda update numpy
conda removeRemoves packages from an environment.
$ conda remove numpy
Other commands are available for managing channels, listing environments, searching for packages, cleaning package caches, and viewing conda configuration.
Tip
You can abbreviate many frequently used command options that are preceded
by two dashes (--) to one dash and the first letter of the option. For
example, --name and --envs can be written as -n and -e.
Getting help for commands#
Use --help or -h to see help for conda itself or for an individual
command.
To see top-level conda help:
$ conda --help
To see help for a specific command:
$ conda install --help
or:
$ conda install -h
For full usage of each command, including abbreviations, see commands. You can see the same information at the command line by viewing the command-line help.
Plugin commands#
Conda plugins can add their own commands or subcommands to the conda command-line interface. For example, a plugin may add a command for a custom workflow, package source, or environment management task.
Plugins that add conda commands must be installed in the environment running
conda, usually base. Starting with conda 26.11.0, use
conda plugins install, conda plugins update, and conda plugins remove
to manage their conda packages. Select the target environment with --name or
--prefix.
Use conda plugins list to see installed plugins and conda plugins info NAME
to inspect a plugin's metadata and registered hooks. These commands report on the
environment running conda and also support --json output.
Installing a plugin into another environment does not make its command available
to the main conda command. That environment must contain conda, and you must
run its Python interpreter to load its plugins. See Plugins
for installation examples and conda plugins for
the command reference.