HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

conda rename — Rename an existing conda environment. The base environment and the currently-active environment cann

Submitted by: @import:tldr-pages··
0
Viewed 0 times
thecommandcondaclienvironmentexistingconda renamerename

Problem

How to use the conda rename command: Rename an existing conda environment. The base environment and the currently-active environment cannot be renamed. More information: <https://docs.conda.io/projects/conda/en/latest/commands/rename.html>.

Solution

conda rename — Rename an existing conda environment. The base environment and the currently-active environment cannot be renamed. More information: <https://docs.conda.io/projects/conda/en/latest/commands/rename.html>.

Rename an environment via its name:
conda rename {{[-n|--name]}} {{current_name}} {{new_name}}


Rename an environment via its full path (i.e. prefix):
conda rename {{[-p|--prefix]}} {{path/to/env}} {{new_name}}

Code Snippets

Rename an environment via its name

conda rename {{[-n|--name]}} {{current_name}} {{new_name}}

Rename an environment via its full path (i.e. prefix)

conda rename {{[-p|--prefix]}} {{path/to/env}} {{new_name}}

Context

tldr-pages: common/conda rename

Revisions (0)

No revisions yet.