Building environments with your organization’s channels ensures that your project’s software always complies with security standards.

Adding a channel to your .condarc file

Business tier only.
In order to access packages from your organization’s channels, you must configure your .condarc file to tell conda where the channel is located. Complete the following steps to add one of your organizations’ channels to your .condarc file:
  1. Navigate to your Organizations page.
  2. Select your organization.
  3. Select Channels from the left-hand navigation.
  4. Select Copy channel path.
  5. Open your terminal and run the following command:
    # Replace <CHANNEL_PATH> with the copied channel path
    conda config --prepend channels <CHANNEL_PATH>
    
    This command adds the specified channel to the top of your channels: list, giving it top priority when conda is searching for packages. For more information about channel priority and additional conda config command arguments, see Channels.
    Example .condarc file
    channel_settings:
      - channel: https://repo.anaconda.cloud/*
        auth: anaconda-auth
    channels:
      - https://repo.anaconda.cloud/repo/<ORG_ID>/<CHANNEL_NAME>
      - defaults
    add_anaconda_token: true
    restore_free_channel: false
    default_channels:
      - https://repo.anaconda.cloud/repo/main
      - https://repo.anaconda.cloud/repo/r
      - https://repo.anaconda.cloud/repo/msys2
    
    If you want to use your organizations’ channels exclusively, make sure that they are the only channels present in your .condarc’s channels: list.

Removing a channel from your .condarc file

To remove a channel from your channels: list, open Anaconda Prompt (Terminal on macOS/Linux) and run the following command:
# Replace <CHANNEL> with the URL listed in the channels: section of the .condarc file
conda config --remove channels <CHANNEL>
For example, if you don’t want to pull packages from the default channels, you can run the following command:
conda config --remove channels defaults
This will leave the channels listed under default_channels: in the .condarc file for later use, if needed, but won’t look for packages in those locations.
You can add the default channels to your .condarc file’s channels: list at any time by running the command: conda config --append channels defaults

Viewing channel details

From the Channels page, select any channel to view its details. You can also explore the channel’s packages from this page. The channel details page provides the following information about the channel:
  • The channel’s address (the URL you add to your .condarc file to access the channel’s packages)
  • General information about the channel
  • Information about the policy that is applied to the channel