======== 命令 ======== Commands .. tab:: 中文 ``conda`` 命令是管理各类软件包安装的主要接口。它可以: * 查询并搜索 Anaconda 软件包索引以及当前的 Anaconda 安装内容; * 创建新的 conda 环境; * 在已有 conda 环境中安装和更新软件包。 .. tip:: 许多常用的命令选项在命令行中可以简写,将双短横(``--``)开头的选项简写为单短横加选项首字母即可。例如 ``--name`` 和 ``--envs`` 可分别简写为 ``-n`` 和 ``-e``。 要查看各命令的完整用法(包括缩写形式),请参阅 :doc:`命令文档 <../../commands/index>`。也可以在命令行中 :doc:`查看帮助信息 <../tasks/view-command-line-help>`。 .. tab:: 英文 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. .. tip:: 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 :doc:`commands <../../commands/index>`. You can see the same information at the command line by :doc:`viewing the command-line help <../tasks/view-command-line-help>`.