Creating a channel

After you have downloaded and set up the Anaconda CLI for the first time, create your first channel.

In your terminal, run:

anaconda-enterprise-cli channels create <username>/<channelname>

NOTE: The channel name <username>/<channelname> must not already exist.

NOTE: The slash character (“/”) is allowed in channel names.

This feature is like labels on Anaconda Cloud.

Manage your channels

You can get a list of all the channels on the platform with the channels list subcommand:

anaconda-enterprise-cli channels list

Share a channel

Share a channel with a specific user using the share command:

anaconda-enterprise-cli channels share --user username --level r <username>/<channelname>

You can also share a channel with an existing group created by your Administrator:

anaconda-enterprise-cli channels share --group GROUPNAME --level r <username>/<channelname>

NOTE: Replace GROUPNAME with the actual name of your group.

This group has read-only access, level R.

Finally, you can remove a channel share using the following command:

anaconda-enterprise-cli channels share --user <username> --remove <channelname>

Learn more about channels

Run anaconda-enterprise-cli channels –help to see more information about what you can do with channels.

For help with a specific command, enter that command followed by –help:

anaconda-enterprise-cli channels share --help

After you’ve created your channel, you can upload a package.