命令#
Commands
conda
命令是管理各类软件包安装的主要接口。它可以:
查询并搜索 Anaconda 软件包索引以及当前的 Anaconda 安装内容;
创建新的 conda 环境;
在已有 conda 环境中安装和更新软件包。
小技巧
许多常用的命令选项在命令行中可以简写,将双短横(--
)开头的选项简写为单短横加选项首字母即可。例如 --name
和 --envs
可分别简写为 -n
和 -e
。
The conda
command is the primary interface for managing
installations of various packages. It can:
Query and search the Anaconda package index and current Anaconda installation.
Create new conda environments.
Install and update packages into existing conda environments.
小技巧
You can abbreviate many frequently used command options that
are preceded by 2 dashes (--
) to just 1 dash and the first
letter of the option. So --name
and --envs
can be written as -n
and -e
respectively.
For full usage of each command, including abbreviations, see commands. You can see the same information at the command line by viewing the command-line help.