← 返回命令列表

Linux command

conda-remove 命令

文本

复制后可按需替换文件名、目录或参数。

常用示例

Remove a package

conda remove [package_name]

Remove from specific environment

conda remove -n [env_name] [package_name]

Remove an entire environment

conda remove -n [env_name] --all

Remove multiple packages

conda remove [package1] [package2]

Remove without confirmation

conda remove -y [package_name]

说明

conda remove uninstalls packages from a conda environment. With --all, removes the entire environment. Dependencies that are no longer needed may remain; use conda clean to remove them.

参数

-n, --name _name_
Remove from named environment.
--all
Remove entire environment.
-y, --yes
Don't ask for confirmation.
--force
Force removal without dependency checking.

FAQ

What is the conda-remove command used for?

conda remove uninstalls packages from a conda environment. With --all, removes the entire environment. Dependencies that are no longer needed may remain; use conda clean to remove them.

How do I run a basic conda-remove example?

Run `conda remove [package_name]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does -n, --name _name_ do in conda-remove?

Remove from named environment.