Conda命令
用法 usage
conda-script.py [-h] [-v] [--no-plugins] [-V] COMMAND ...
conda is a tool for managing and deploying applications, environments and packages.
Conda是一个用于管理和部署应用程序、环境和包的工具。
选项 options
序号 | 名称 | 选项 | 英文解释 | 中文解释 |
---|---|---|---|---|
1 | 帮助消息 | - h,–help | Show this help message and exit. | 显示此帮助消息并退出。 |
2 | 详细内容 | -v, --verbose | Can be used multiple times. Once for detailed output, twice for INFO logging, thrice for DEBUG logging, four times for TRACE logging. | 可多次使用。一次用于详细输出,两次用于INFO日志记录,三次用于DEBUG日志记录,四次用于TRACE日志记录。 |
3 | 禁用插件 | –no-plugins | Disable all plugins that are not built into conda. | 禁用所有未内置到conda中的插件。 |
4 | 版本信息 | -V, --version | Show the conda version number and exit. | 显示conda版本号并退出。 |
命令 commands
The following built-in and plugins subcommands are available.
以下是可用的内置和插件子命令。
序号 | 名称 | 命令 | 英文解释 | 中文解释 |
---|---|---|---|---|
1 | 激活 | activate | Activate a conda environment. | 激活conda环境。 |
2 | 构建 | build | Build conda packages from a conda recipe. | 从conda配方构建conda包。 |
3 | 清除 | clean | Remove unused packages and caches. | 删除未使用的包和缓存。 |
4 | 命令 | commands | List all available conda subcommands (including those from plugins). Generally only used by tab-completion. | 列出所有可用的conda子命令(包括来自插件的命令)。通常仅用于制表符完成。 |
5 | 比较 | compare | Compare packages between conda environments. | 比较conda环境之间的包。 |
6 | 配置 | config | Modify configuration values in .condarc. | 修改condarc中的配置值。 |
7 | 内容信任 | content-trust | Signing and verification tools for Conda | Conda签名验证工具 |
8 | 转换为 | convert | Convert pure Python packages to other platforms (a.k.a., subdirs). | 将纯Python包转换为其他平台(也称为subdirs)。 |
9 | 创建 | create | Create a new conda environment from a list of specified packages. | 从指定包的列表创建新的conda环境。 |
10 | 停用 | deactivate | Deactivate the current active conda environment. | 停用当前活动的conda环境。 |
11 | 调试 | debug | Debug the build or test phases of conda recipes. | 调试conda配方的构建或测试阶段。 |
12 | 开发 | develop | Install a Python package in ‘development mode’. Similar to pip install --editable. | 在“开发模式”下安装Python包。类似于pip安装——可编辑。 |
13 | 环境健康状况 | doctor | Display a health report for your environment. | 显示环境的运行状况报告。 |
14 | 导出 | export | Export a given environment | 导出给定环境 |
15 | 索引 | index | Update package index metadata files. | 更新包索引元数据文件。 |
16 | 信息 | info | Display information about current conda install. | 显示有关当前conda安装的信息。 |
17 | 初始化 | init | Initialize conda for shell interaction. | 为shell交互初始化conda。 |
18 | 检查 | inspect | Tools for inspecting conda packages. | 用于检查康达包装的工具。 |
19 | 安装 | install | Install a list of packages into a specified conda environment. | 将包列表安装到指定的conda环境中。 |
20 | 列表 | list | List installed packages in a conda environment. | 列出conda环境中安装的软件包。 |
21 | 元软件包 | metapackage | Specialty tool for generating conda metapackage. | 用于生成conda元包的专用工具。 |
22 | 通知 | notices | Retrieve latest channel notifications. | 检索最新的频道通知。 |
23 | 包装 | pack | See ‘conda pack --help’. | 请参阅conda pack --help。 |
24 | 包装 | package | Create low-level conda packages. (EXPERIMENTAL) | 创建低级conda包。(实验性) |
25 | 删除(卸载) | remove (uninstall) | Remove a list of packages from a specified conda environment. | 从指定的conda环境中删除包列表。 |
26 | 重命名 | rename | Rename an existing environment. | 重命名现有环境。 |
27 | 渲染 | render | Expand a conda recipe into a platform-specific recipe. | 将conda配方展开为特定于平台的配方。 |
28 | 仓库 | repo | See ‘conda repo --help’. | 请参阅”conda repo–help“。repo是repository的简写。 |
29 | 仓库查询 | repoquery | Advanced search for repodata. | repodata高级搜索。 |
30 | 运行 | run | Run an executable in a conda environment. | 在conda环境中运行可执行文件。 |
31 | 搜索 | search | Search for packages and display associated information using the MatchSpec format. | 使用MatchSpec格式搜索包并显示相关信息。 |
32 | 服务器 | server | See ‘conda server --help’. | 请参阅”conda server–help“。 |
33 | 骨架 | skeleton | Generate boilerplate conda recipes. | 生成样板化的 Conda 配方 |
34 | 令牌 | token | See ‘conda token --help’. | 请参阅”conda token–help“。 |
35 | 更新(升级) | update (upgrade) | Update conda packages to the latest compatible version. | 将conda软件包更新至最新兼容版本。 |