Documentation Index
Fetch the complete documentation index at: https://mintlify.com/conda/conda/llms.txt
Use this file to discover all available pages before exploring further.
Overview
Theconda search command queries channels for packages matching the provided package specification. It uses the MatchSpec query language to find packages across configured channels or within local environments.
Syntax
Search Specifications
Package specification to search for. Supports MatchSpec format including wildcards, version constraints, and channel specifications. Defaults to
* (all packages) if not specified.Search Mode
Search all of the current user’s environments. If run as Administrator (on Windows) or UID 0 (on unix), search all known environments on the system.
Output Options
Provide detailed information about each package.
Search the given subdir. Should be formatted like
osx-64, linux-32, win-64, and so on. The default is to search the current platform.Do not perform flexible search if initial search fails.
Channel Customization
Additional channel to search for packages. These are URLs searched in the order they are given (including local directories using the
file:// syntax or simply a path like /home/conda/mychan or ../mychan). Can be used multiple times.Use locally built packages. Identical to
-c local.Do not search default or .condarc channels. Requires —channel.
Specify file name of repodata on the remote server. Can be passed multiple times.
Enable experimental features. Options:
jlap (download incremental package index data), lock (use locking when reading/updating index cache).Disable locking when reading, updating index (repodata.json) cache.
Check for/do not check for repodata.json.zst. Enabled by default.
Networking Options
Use cache of channel index files, even if it has expired. This is useful if you don’t want conda to check whether a new version of the repodata file exists.
Allow conda to perform “insecure” SSL connections and transfers. Equivalent to setting
ssl_verify to false.Offline mode. Don’t connect to the Internet.
Output Format 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
Basic Package Search
Search for a package by name:Wildcard Searches
Find packages matching a pattern:Version-Specific Search
Find specific versions of a package:Channel-Specific Search
Search in a specific channel:Platform-Specific Search
Search for packages built for a specific platform:Detailed Package Information
Get comprehensive information about available packages:- File name
- Version
- Build string and number
- Size
- License
- Subdir
- URL
- Dependencies
- Constraints
Searching Installed Environments
Find where a package is installed:Multi-Channel Search
Search across multiple channels:Offline Search
Search using cached channel data:Machine-Readable Output
Get JSON output for programmatic use:Your shell may expand
* before passing the command to conda. Use single or double quotes around search patterns containing wildcards: '*scikit*' or "*scikit*".If conda doesn’t find an exact match, it automatically performs a flexible search with wildcards unless you use
--skip-flexible-search.