mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-01-26 11:33:59 +00:00
19 lines
541 B
Plaintext
19 lines
541 B
Plaintext
---
|
|
syntax: markdown
|
|
tags: [tldr, common]
|
|
source: https://github.com/tldr-pages/tldr.git
|
|
---
|
|
# 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}}`
|