conda-info
Display Conda installation and environment information
TLDR
Show all information
Display base environment path
List all conda environments
List environment variables
Display list of channels with tokens exposed
SYNOPSIS
conda info [options]
PARAMETERS
--base / -b
Show location of base environment
--envs / -e
Display list of all conda environments
--json
Output information in JSON format
--debug / -d
Show extended debug details about the command
--verbose / -v
Display verbose output with full channel names
--system
Print detailed system information
--unsafe-channels
Allow listing unsafe channels
-h / --help
Show help message and exit
DESCRIPTION
conda info is a subcommand of the conda package and environment manager, primarily used with Anaconda or Miniconda distributions on Linux. It outputs comprehensive details about the current conda configuration, including the version of conda, the active environment, platform architecture, user and system configuration file paths, populated config files, conda installation location, base environment path, and a summary of installed packages with their versions and build strings.
This command is invaluable for debugging issues, verifying setups, sharing diagnostic information with support teams, or scripting environment checks. For instance, it lists channels from which packages are sourced and indicates if conda is in base or a custom environment. Without options, it provides a human-readable overview; options allow customization like listing all environments or JSON output for automation.
Key uses include confirming conda updates, inspecting package conflicts, or confirming channel priorities before installations. It's lightweight, non-destructive, and runs quickly, making it a first step in conda troubleshooting workflows.
CAVEATS
Command requires conda installation; output may vary by version and config. Use --json for parseable results in scripts, as plain text can change format across releases.
COMMON USAGE
Run conda info --envs to list environments.
conda info --json | jq '.conda_version' extracts version programmatically.
OUTPUT SECTIONS
Typical sections: active env, conda location, channels, installed packages summary, config files.
HISTORY
Developed as part of conda 1.0 in 2012 by Continuum Analytics (now Anaconda, Inc.). Evolved with Anaconda distribution for Python data science; options like --json added in later versions (4.x+) for better automation support.


