> ## 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 channel modify

export const GCell = ({children, className}) => <div className={`grid-table-cell ${className || ""}`} role="cell">
    {children}
  </div>;

export const GTH = ({children, className}) => <div className={`grid-table-th ${className || ""}`} role="columnheader">
    {children}
  </div>;

export const GRow = ({children}) => <div className="grid-table-row" role="row">{children}</div>;

export const GBody = ({children}) => <div className="grid-table-body" role="rowgroup">{children}</div>;

export const GHead = ({children}) => <div className="grid-table-head" role="rowgroup">{children}</div>;

export const GTable = ({children, className, cols}) => <div className={`grid-table not-prose overflow-hidden rounded-2xl ${className || ""}`} style={{
  "--grid-table-cols": cols
}} role="table">
    {children}
  </div>;

## Usage

```bash theme={null}
anaconda channel modify <NAME> [OPTIONS]
```

## Description

Modifies channel settings such as privacy and indexing behavior.

You can specify the channel in two ways:

* **Simple name with `--namespace`**: `anaconda channel modify my-channel --namespace my-org`
* **Combined format**: `anaconda channel modify my-org/my-channel`

At least one of `--privacy` or `--indexing-behavior` is required.

## Arguments

<GTable cols="20% 80%">
  <GHead>
    <GRow>
      <GTH>Argument</GTH>
      <GTH>Description</GTH>
    </GRow>
  </GHead>

  <GBody>
    <GRow>
      <GCell>`<NAME>`</GCell>
      <GCell>Channel name to modify (or `namespace/channel` format)</GCell>
    </GRow>
  </GBody>
</GTable>

## Options

<GTable cols="35% 65%">
  <GHead>
    <GRow>
      <GTH>Option</GTH>
      <GTH>Description</GTH>
    </GRow>
  </GHead>

  <GBody>
    <GRow>
      <GCell>`-n, --namespace <TEXT>`</GCell>
      <GCell>Namespace the channel belongs to</GCell>
    </GRow>

    <GRow>
      <GCell>`-p, --privacy <PRIVACY>`</GCell>
      <GCell>Set channel privacy: `public` or `private`</GCell>
    </GRow>

    <GRow>
      <GCell>`-i, --indexing-behavior <BEHAVIOR>`</GCell>
      <GCell>Set indexing behavior: `default` or `frozen`</GCell>
    </GRow>

    <GRow>
      <GCell>`-h, --help`</GCell>
      <GCell>Show help for this command</GCell>
    </GRow>
  </GBody>
</GTable>

### Privacy settings

* `public`: Channel is accessible to anyone
* `private`: Channel is only accessible to authorized users

### Indexing behavior

* `default`: Channel index is updated automatically when packages are added or removed
* `frozen`: Channel index is not updated; useful for creating stable snapshots

## Examples

**Make a channel public**

```bash theme={null}
anaconda channel modify my-channel --namespace my-org --privacy public
```

**Freeze a channel's index**

```bash theme={null}
anaconda channel modify my-org/my-channel --indexing-behavior frozen
```

**Change both privacy and indexing behavior**

```bash theme={null}
anaconda channel modify my-org/my-channel --privacy private --indexing-behavior default
```
