conda
23.5.x
  • User guide
  • Conda configuration
  • Conda Python API
  • Command reference
    • conda clean
    • conda compare
    • conda config
    • conda create
    • conda info
    • conda init
    • conda install
    • conda list
    • conda notices
    • conda package
    • conda remove
    • conda rename
    • conda run
    • conda search
      • options
      • Channel Customization
      • Networking Options
      • Output, Prompt, and Flow Control Options
    • conda update
    • Conda vs. pip vs. virtualenv commands
  • Glossary
  • Developer guide
  • Release notes
conda
  • »
  • Command reference »
  • conda search
  • Edit on GitHub

conda search

Search for packages and display associated information.The input is a MatchSpec, a query language for conda packages.

See examples below.

Options:

usage: conda search [-h] [--envs] [-i] [--subdir SUBDIR] [-c CHANNEL]
                    [--use-local] [--override-channels]
                    [--repodata-fn REPODATA_FNS] [--experimental {jlap,lock}]
                    [-C] [-k] [--offline] [--json] [-v] [-q]

options

--envs

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.

-i, --info

Provide detailed information about each package.

--subdir, --platform

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.

Channel Customization

-c, --channel

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'). Then, the defaults or channels from .condarc are searched (unless --override-channels is given). You can use 'defaults' to get the default packages for conda. You can also use any name and the .condarc channel_alias value will be prepended. The default channel_alias is https://conda.anaconda.org/.

--use-local

Use locally built packages. Identical to '-c local'.

--override-channels

Do not search default or .condarc channels. Requires --channel.

--repodata-fn

Specify file name of repodata on the remote server where your channels are configured or within local backups. Conda will try whatever you specify, but will ultimately fall back to repodata.json if your specs are not satisfiable with what you specify here. This is used to employ repodata that is smaller and reduced in time scope. You may pass this flag more than once. Leftmost entries are tried first, and the fallback to repodata.json is added for you automatically. For more information, see conda config --describe repodata_fns.

--experimental

Possible choices: jlap, lock

jlap: Download incremental package index data from repodata.jlap; implies 'lock'. lock: use locking when reading, updating index (repodata.json) cache.

Networking Options

-C, --use-index-cache

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, which will save bandwidth.

-k, --insecure

Allow conda to perform "insecure" SSL connections and transfers. Equivalent to setting 'ssl_verify' to 'false'.

--offline

Offline mode. Don't connect to the Internet.

Output, Prompt, and Flow Control Options

--json

Report all output as json. Suitable for using conda programmatically.

-v, --verbose

Use once for info, twice for debug, three times for trace.

-q, --quiet

Do not display progress bar.

conda commands available from other packages:

doctor - A subcommand that displays environment health report

Previous Next

© Copyright 2017, Anaconda, Inc. Revision 0096a1d1.

Built with Sphinx using a theme provided by Read the Docs.