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

conda remove — Remove packages from a conda environment. More information: <https://docs.conda.io/projects/conda/en

Submitted by: @import:tldr-pages··
0
Viewed 0 times
conda removecommandremovefromcondaclienvironmentpackages

Problem

How to use the conda remove command: Remove packages from a conda environment. More information: <https://docs.conda.io/projects/conda/en/latest/commands/remove.html>.

Solution

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

Code Snippets

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

Context

tldr-pages: common/conda remove

Revisions (0)

No revisions yet.