conda rename

Renames an existing environment.

This command renames a conda environment via its name (-n/--name) or its prefix (-p/--prefix).

The base environment and the currently-active environment cannot be renamed.


usage: conda rename [-h] [-n ENVIRONMENT | -p PATH] [--force] [-d] destination

Positional Arguments


New name for the conda environment.



Force rename of an environment.

-d, --dry-run

Only display what would have been done by the current command, arguments, and other flags.

Target Environment Specification

-n, --name

Name of environment.

-p, --prefix

Full path to environment location (i.e. prefix).

conda commands available from other packages:

doctor - A subcommand that displays environment health report