> ## 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, you must first configure your `.condarc` file. There are multiple methods for accomplishing this:

<Tabs>
  <Tab title="Package Security Manager CLI">
    For instructions on how to configure your `.condarc` using the CLI, see [Using the .condarc configuration wizard](./cli#using-the-condarc-configuration-wizard).
  </Tab>

  <Tab title="Conda config commands">
    Choose a set of conda configuration commands that matches your setup:

    <Tabs>
      <Tab title="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>

      <Tab title="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
        ```
      </Tab>
    </Tabs>

    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.
    </Warning>
  </Tab>
</Tabs>

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