mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-05 02:44:08 +00:00
26 lines
693 B
Plaintext
26 lines
693 B
Plaintext
---
|
|
syntax: markdown
|
|
tags: [tldr, common]
|
|
source: https://github.com/tldr-pages/tldr.git
|
|
---
|
|
# conda remove
|
|
|
|
> Remove packages from a conda environment.
|
|
> More information: <https://docs.conda.io/projects/conda/en/latest/commands/remove.html>.
|
|
|
|
- Remove `scipy` from the currently active environment:
|
|
|
|
`conda remove scipy`
|
|
|
|
- Remove a list of packages from the specified environment:
|
|
|
|
`conda remove {{[-n|--name]}} {{environment_name}} {{package1 package2 ...}}`
|
|
|
|
- Remove all packages and the environment itself:
|
|
|
|
`conda remove {{[-n|--name]}} {{environment_name}} --all`
|
|
|
|
- Remove all packages, but keep the environment:
|
|
|
|
`conda remove {{[-n|--name]}} {{environment_name}} --all --keep-env`
|