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

# anaconda repo channel

## Usage

```bash theme={null}
anaconda repo channel [OPTIONS]
```

## Description

Manages repository channels and subchannels: list channels, create or remove a channel, show channel details, list packages or files, view history, and change privacy (lock/unlock) or indexing (freeze/unfreeze). Exactly one action must be specified.

### Subchannels

A subchannel is a hierarchical division within an existing channel, referenced using the `<CHANNEL>/<SUBCHANNEL>` syntax. Subchannels operate independently from the parent channel—they can have their own mirroring configurations, privacy settings, and policies.

> [!NOTE]
>
> Most `channel` actions that accept a `<CHANNEL>` argument also work with subchannels by specifying the full path.

## Options

Option

Default

Description

`--list`

List channels you own and channels shared with you through group membership

`--create <CHANNEL>`

Create a new channel

`--remove <CHANNEL>`

Remove a channel

`--show <CHANNEL>`

Show information about the channel

`--list-packages <CHANNEL> [ ... ]`

List packages in one or more channels

`--history <CHANNEL>`

Show historical events for the channel

`--package-changes <CHANNEL>`

Show package addition/removal history

`--lock <CHANNEL>`

Lock channel (make private)

`--soft-lock <CHANNEL>`

Soft-lock (authenticated users only)

`--unlock <CHANNEL>`

Unlock channel (make public)

`--freeze <CHANNEL>`

Freeze channel (prevent indexing updates)

`--unfreeze <CHANNEL>`

Unfreeze channel (allow indexing updates)

`-o, --offset <#>`

`0`

Offset when displaying results

`-l, --limit <#>`

`50`

Limit when displaying results

`--full-details`

Show full details (for example, for `list-packages`, `show`)

`-h, --help`

Show help for this command

## Examples

**List your channels**

```bash theme={null}
anaconda repo channel --list
```

> [!NOTE]
>
> The `--list` action returns only channels that you own and channels that have been shared with you through group membership. Public channels do not appear in the results, but you can still access all public channels by default.

**Create a new channel**

```bash theme={null}
anaconda repo channel --create <CHANNEL>
```

Comments

Replace \<CHANNEL> with a name for the channel you want to create.

**Show channel details**

```bash theme={null}
anaconda repo channel --show <CHANNEL> --full-details
```

Comments

Replace \<CHANNEL> with the name of the channel you want to view details for.

**List packages in a channel**

```bash theme={null}
anaconda repo channel --list-packages <CHANNEL> 
```

Comments

Replace \<CHANNEL> with the name of the channel you want to view packages for.

**Make a channel private**

```bash theme={null}
anaconda repo channel --lock <CHANNEL>
```

Comments

Replace \<CHANNEL> with the name of the channel you want to make private.

**Freeze a channel (stop indexing updates)**

```bash theme={null}
anaconda repo channel --freeze <CHANNEL>
```

Comments

Replace \<CHANNEL> with the name of the channel you want to freeze.

**Show history for a channel**

```bash theme={null}
anaconda repo channel --history <CHANNEL>
```

Comments

Replace \<CHANNEL> with the name of the channel you want to view history for.

**Show package changes for a channel**

```bash theme={null}
anaconda repo channel --package-changes <CHANNEL>
```

Comments

Replace \<CHANNEL> with the name of the channel you want to view package changes for.

### Subchannel examples

**Create a subchannel within an existing channel**

```bash theme={null}
anaconda repo channel --create <CHANNEL>/<SUBCHANNEL>
```

Comments

Replace \<CHANNEL> with the name of the channel you want to create a subchannel in, and \<SUBCHANNEL> with the name of the subchannel you want to create.

**Show subchannel details**

```bash theme={null}
anaconda repo channel --show <CHANNEL>/<SUBCHANNEL> --full-details
```

Comments

Replace \<CHANNEL> with the name of the channel that contains the subchannel you want to view details for, and \<SUBCHANNEL> with the name of the subchannel you want to view details for.

**List packages in a subchannel**

```bash theme={null}
anaconda repo channel --list-packages <CHANNEL>/<SUBCHANNEL>
```

Comments

Replace \<CHANNEL> with the name of the channel that contains the subchannel you want to list packages for, and \<SUBCHANNEL> with the name of the subchannel you want to list packages for.

**Lock a subchannel (make it private)**

```bash theme={null}
anaconda repo channel --lock <CHANNEL>/<SUBCHANNEL>
```

Comments

Replace \<CHANNEL> with the name of the channel that contains the subchannel you want to view details for, and \<SUBCHANNEL> with the name of the subchannel you want to view details for.

**Remove a subchannel**

```bash theme={null}
anaconda repo channel --remove <CHANNEL>/<SUBCHANNEL>
```

Comments

Replace \<CHANNEL> with the name of the channel that contains the subchannel you want to remove, and \<SUBCHANNEL> with the name of the subchannel you want to remove.
