Overview
Theconda list command lists all packages installed into a conda environment. It can display packages in various formats and can be filtered by regular expressions.
Syntax
Target Environment Specification
Name of environment.
Full path to environment location (i.e. prefix).
Filtering
List only packages matching this regular expression.
Only search for full names, i.e.,
^<regex>$. --full-name NAME is identical to regex ^NAME$.Output Format Options
Comma-separated list of fields to print. Valid values include: name, version, build, channel, size, etc.
List installed packages in reverse order.
Output canonical names of packages only.
List explicitly all installed conda packages with URL (output may be used by
conda create --file).Add MD5 hashsum when using
--explicit.Add SHA256 hashsum when using
--explicit.Output explicit, machine-readable requirement strings instead of human-readable lists of packages. This output may be used by
conda create --file.List the revision history.
Show package and environment sizes.
Show channel urls. Overrides the value given by
conda config --show show_channel_urls.Package Source Options
Do not include pip-only installed packages.
In explicit mode, leave authentication details in package URLs. They are removed by default otherwise.
Output Options
Report all output as json. Suitable for using conda programmatically.
Can be used multiple times. Once for detailed output, twice for INFO logging, thrice for DEBUG logging, four times for TRACE logging.
Do not display progress bar.
Examples
Common Use Cases
Listing All Packages
Display all packages in the current environment:Searching for Specific Packages
Use regex to find packages matching a pattern:Exporting Package List
Create a requirements file for environment recreation:Creating Explicit Specification
Generate an explicit specification file with URLs:Viewing Package Sizes
Check how much space packages are using:Listing Specific Fields
Customize output to show only certain fields:Checking Revision History
View environment changes over time:Filtering by Environment
List packages in a specific environment:Machine-Readable Output
Get JSON output for programmatic processing:Excluding Pip Packages
List only conda-installed packages:The
--explicit format includes full URLs for each package, making it ideal for exact environment reproduction across systems.Use
--export format for lighter-weight package lists that still allow environment recreation. The explicit format is more robust but creates larger files.