> ## 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.

# Using conda with Package Security Manager

In order to use conda to interact with your Package Security Manager channels (A location (URL or file path) in a repository where conda looks for packages.), you must first configure your `.condarc` file. There are multiple methods for accomplishing this:

> [tab] Package Security Manager CLI
>
> For instructions on how to configure your `.condarc` using the CLI, see [Using the .condarc configuration wizard](https://anaconda.com/docs/psm-on-prem/6.8.0/user/cli.md#using-the-condarc-configuration-wizard).

> [tab] Conda config commands
>
> Choose a set of conda configuration commands that matches your setup:
>
> > [tab] SSL
> >
> > Set your channel alias by running the following command:
> >
> > ```sh theme={null}
> > # Replace <FQDN> with your Package Security Manager fully qualified domain name
> > conda config --set channel_alias https://<FQDN>/api/repo
> > ```
>
> > [tab] No SSL
> >
> > Set your channel alias by running the following command:
> >
> > ```sh theme={null}
> > # Replace <FQDN> with your Package Security Manager fully qualified domain name
> > conda config --set channel_alias http://<FQDN>/api/repo
> > ```
>
> Once your channel alias is set, add any Package Security Manager channels you need to access to your `.condarc` by running the following command:
>
> ```sh theme={null}
> # Replace <CHANNEL_NAME> with the name of your channel
> conda config --add channels <CHANNEL_NAME>
> ```
>
> > [!WARNING]
> >
> > You must run this command for each channel you need to access.

For more information, see the [official conda documentation](https://docs.conda.io/en/latest/).
