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

# Sharing channels and packages

To share multiple packages with the same set of users, you can upload all of the packages to a channel and share that channel. This enables you to create channels for each type of user you support, and add the packages they need to each.

<Frame>
  <img src="https://mintcdn.com/anaconda-29683c67/q5KdI2mr6ZKMYRZp/images/org_channels.png?fit=max&auto=format&n=q5KdI2mr6ZKMYRZp&q=85&s=c96681029bd056d65a62b02792050bec" alt="" width="2660" height="1082" data-path="images/org_channels.png" />
</Frame>

<Note>
  The default is to grant collaborators *read-write* access, so if you want to prevent them from adding and removing packages from the channel, be sure they have *read-only* access. You’ll need to [use the CLI](#using-the-cli) to make a channel read-only.
</Note>

## To share a channel with unauthenticated users:

1. Select the channel in the **Channels** list, and verify that the packages in the channel are all appropriate to share.
2. Click **Share** in the left menu.
3. Ensure the channel is set to `Public`, copy the URL location of the channel, and distribute it to the people with whom you want to share the channel.

   <Frame>
     <img src="https://mintcdn.com/anaconda-29683c67/SgtHPGS_3WUV3NOk/images/public_channel.png?fit=max&auto=format&n=SgtHPGS_3WUV3NOk&q=85&s=f88300d4ee14561c285f892938082548" alt="" width="2786" height="1206" data-path="images/public_channel.png" />
   </Frame>

## To share a channel with other platform users:

1. Select the channel in the **Channels** list and verify that all the packages you want to share are listed.

2. Click **Share** in the left menu.

   <Note>
     Channels are `Public`—accessible by non-authenticated users—by default. To make the channel `Private`, and therefore available to authenticated users only, disable the toggle to switch the channel setting from `Public` to `Private`.
   </Note>

3. Start typing the name of the user or group in the **Add New Collaborator** drop-down to search for matches. Select the option that corresponds to what you want. You can add multiple users or groups at the same time.

4. Click **Add** when you’re satisfied with your selections.

   <Frame>
     <img src="https://mintcdn.com/anaconda-29683c67/IBO7780zo4xe9zAp/images/add_collaborator.png?fit=max&auto=format&n=IBO7780zo4xe9zAp&q=85&s=0e25443a320d0b6bf016840d202d2afd" alt="" width="2686" height="1116" data-path="images/add_collaborator.png" />
   </Frame>

To “unshare” a channel with a collaborator, simply click the large **X** next to the right of their name in the **Collaborator** list.

## Using the CLI:

Get a list of all the channels on the platform with the `channels list` command:

```
anaconda-enterprise-cli channels list
```

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

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

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

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

Replacing GROUPNAME with the actual name of your group.

<Note>
  Adding `--level r` grants this group read-only access to the channel.
</Note>

You can “unshare” a channel using the following command:

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

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
```
