Linux command
conda-info 命令
文本
复制后可按需替换文件名、目录或参数。
常用示例
Show conda information
conda info
Show all information
conda info --all
List all environments
conda info --envs
Show base environment path
conda info --base
Show environment variables that affect conda
conda info --system
Show disk usage of conda-managed directories
conda info --size
Show info in JSON format
conda info --json
Show info about a package
conda search [package_name] --info
说明
conda info displays information about the current conda installation, including version, configuration files, configured channels, and environment locations. The legacy form conda info _package_ for inspecting a package was deprecated and removed in conda 24.3 (March 2024). Use conda search _package_ --info instead.
参数
- -a, --all
- Show all information (channels, config files, plugins, env list, etc.).
- --base
- Display base environment path.
- -e, --envs
- List all known conda environments. Combine with --json for more details.
- -s, --system
- List environment variables that affect conda.
- --size
- Show disk usage for conda-managed directories per environment.
- --unsafe-channels
- Display the channel list with auth tokens exposed (use with care).
- --json
- Output in JSON format. Suitable for programmatic consumption.
- -v, --verbose
- Increase logging verbosity. Repeat up to four times for TRACE level.
- -q, --quiet
- Suppress progress bars.
FAQ
What is the conda-info command used for?
conda info displays information about the current conda installation, including version, configuration files, configured channels, and environment locations. The legacy form conda info _package_ for inspecting a package was deprecated and removed in conda 24.3 (March 2024). Use conda search _package_ --info instead.
How do I run a basic conda-info example?
Run `conda info` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
What does -a, --all do in conda-info?
Show all information (channels, config files, plugins, env list, etc.).