> ## Documentation Index
> Fetch the complete documentation index at: https://anaconda.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Searching for conda packages

Conda's search functionality enables you to look through channels (A location (URL or file path) in a repository where conda looks for packages.) to check if a specific package is available to you, which package versions exist across different channels, or what is already installed in your local environments. The sections below explain a few ways to use `conda search`, but you can also run `conda search --help` to see a list of all available search command options.

## Searching configured channels

To use conda to search for a package, run the following command:

```sh theme={null}
conda search <PACKAGE>
```

Comments

Replace \<PACKAGE> with the name of the package you want to search for.

Conda searches for requested packages starting with the first entry in the `channels:` list in your `.condarc` file. If the requested package is not located in that channel, conda continues searching using the next entry in the `channels:` list.

When conda reaches the `defaults` entry in the `channels:` list, it searches the channels listed under the `default_channels:` list, in the same descending order. This is called "channel priority", and it determines which source conda uses first when resolving packages.

## Searching a specific channel

To search a specific channel for a package:

```sh theme={null}
conda search <CHANNEL>::<PACKAGE>
```

Comments

Replace \<PACKAGE> with the name of the package you want to search for.\\

Replace \<CHANNEL> with the URL or name of the channel you want to search; for example, conda-forge.

> [!NOTE]
>
> If you don't specify a full channel URL, conda uses your configured *channel alias* to complete the channel name. By default, the alias is `https://conda.anaconda.org/`, meaning a command like `conda search conda-forge::numpy` resolves to searching `https://conda.anaconda.org/conda-forge`. For more information and instructions on how to set your channel alias, see [Set a channel alias](https://docs.conda.io/projects/conda/en/stable/user-guide/configuration/settings.html#channel-alias-set-a-channel-alias) in the official conda docs.

## Searching local environments

Use the `--envs` flag to search your local environments for a package:

```sh theme={null}
conda search --envs <PACKAGE>
```

Comments

Replace \<PACKAGE> with the name of the package you want to search for.

For more information about searching for packages and advanced options, see [conda search](https://docs.conda.io/projects/conda/en/stable/commands/search.html) in the official conda docs.
