Overview
Theconda env list command lists all available conda environments on your system. This is an alias for conda info --envs.
Syntax
Options
Report all output as JSON. Suitable for using conda programmatically.The JSON output includes:
- List of environment paths
- The currently active environment
Show conda-managed disk usage for each environment. This excludes untracked files created after installation.
Calculating sizes may take some time for environments with many packages.
Use once for INFO, twice for DEBUG, three times for TRACE.
Do not display progress bar.
Output Format
The standard output shows:- Environment name or path
- Full path to the environment
- An asterisk (*) next to the currently active environment
Standard Output Example
JSON Output Example
Examples
List all environments
List environments with JSON output
List environments with size information
Quiet output
Common Use Cases
Find environment locations
Find environment locations
Use
conda env list to find the full path to an environment:Check which environment is active
Check which environment is active
The active environment is marked with an asterisk:
Programmatic environment discovery
Programmatic environment discovery
Use JSON output in scripts:
Audit disk usage
Audit disk usage
Check which environments are using the most space:
Verify environment creation
Verify environment creation
After creating an environment, verify it appears:
Environment Search Locations
Conda searches for environments in these directories (in order):- envs_dirs from .condarc configuration
- Default locations:
$CONDA_ROOT/envs- Default environment directory~/.conda/envs- User environment directory- Any custom paths specified in configuration
Understanding the Output
| Column | Description |
|---|---|
| Name | Environment name (or path if created with -p) |
| Active Marker (*) | Indicates the currently activated environment |
| Path | Full filesystem path to the environment |
| Size | Disk space used (only with --size flag) |
Related Commands
conda env create- Create a new environmentconda env remove- Remove an environmentconda activate- Activate an environmentconda info- Display comprehensive conda informationconda config --show envs_dirs- Show configured environment directories