> ## 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 CLI features

Use features to configure conda or pixi to access Anaconda package channels. [Log in](https://anaconda.com/docs/cli-reference/anaconda-cli/authentication.md) before you begin.

## Usage

To list features available in your build, run:

```sh theme={null}
ana feature list
```

To enable or disable a feature, use:

```sh theme={null}
ana feature enable [OPTIONS] [NAME]
ana feature disable [OPTIONS] [NAME]
```

### Arguments

ArgumentDescription

`NAME`The feature to configure. The available feature is [`main-x`](#main-x), which adds the main-x channel to your conda or pixi configuration. Omit to show help.

### Options

OptionDescription

`--conda`Configure conda (the default)

`--pixi`Configure pixi instead of conda

`--force`Skip the confirmation prompt

`--help`Show command help

Run separate commands for conda and pixi. The `--conda` and `--pixi` flags are mutually exclusive.

## Main-x

The [`main-x` channel](https://anaconda.com/docs/getting-started/main-x) provides 13,000+ additional Anaconda-curated packages alongside the standard `main` channel. Install conda or pixi before enabling it. If you need an environment manager, see [Install an environment manager](https://anaconda.com/docs/cli-reference/anaconda-cli/getting-started.md#install-an-environment-manager).

### Enable main-x

> [tab] conda
>
> To configure conda, run:
>
> ```sh theme={null}
> ana feature enable main-x --conda
> ```
>
> Review the displayed `conda config` commands before confirming. To inspect the resulting configuration, run:
>
> ```sh theme={null}
> conda config --show channels default_channels
> ```

> [tab] pixi
>
> To configure pixi's global defaults and repository authentication, run:
>
> ```sh theme={null}
> ana feature enable main-x --pixi
> ```
>
> Review the displayed changes before confirming. To inspect the resulting global configuration, run:
>
> ```sh theme={null}
> pixi config list --global
> ```

Review the proposed changes before confirming, especially if you already use custom channels. Enabling the feature changes where your package manager looks for packages; it does not install packages into your environments.

### Configuration changes

Ana configures `main-x` alongside `main`, `msys2` ([EOS](https://anaconda.com/docs/reference/policies-practices/software-version-support.md#end-of-support-eos)), and `r` ([EOS](https://anaconda.com/docs/reference/policies-practices/software-version-support.md#end-of-support-eos)), choosing the repository addresses for your account's subscription. For conda, it updates `default_channels` and enables `defaults`. For pixi, it updates global `default-channels` and saves repository credentials.

Read the terms-of-service notice shown by the command. Enabling a channel does not change your subscription or its licensing requirements. For more about channel configuration, see [Channels](https://anaconda.com/docs/getting-started/working-with-conda/channels.md).

### Disable main-x

Use the same package-manager flag you used when enabling the feature:

> [tab] conda
>
> ```sh theme={null}
> ana feature disable main-x --conda
> ```

> [tab] pixi
>
> ```sh theme={null}
> ana feature disable main-x --pixi
> ```

Disabling removes `main-x` from the selected tool's default channels, but keeps the other channels. If you added `main-x` elsewhere yourself, remove that entry separately. Ana warns if `main-x` is still enabled for the other tool.

> [!NOTE]
>
> Disabling for pixi also logs pixi out of `repo.anaconda.cloud` when it removes the channel. You might need to authenticate again to use other private channels on that host.

### Skip confirmation

After reviewing the intended changes, use `--force` for unattended configuration:

```sh theme={null}
ana feature enable main-x --conda --force
```

Authenticate before running this in CI. `--force` skips the configuration confirmation; it does not install a missing package manager or supply credentials.

## Outerbounds

Use `ana platform` to access Outerbounds on macOS and Linux. No feature flag is needed, and ana installs the tool when needed.

Log in, then inspect the available commands:

```sh theme={null}
ana login
ana platform --help
```

To configure an instance, run:

```sh theme={null}
ana platform configure --instance <INSTANCE>
```

Comments

Replace \<INSTANCE> with the instance hostname supplied by your organization, such as `your-org.outerbounds.com`.

Platform commands are not available in conda-packaged builds. Consult your organization's Outerbounds instructions for instance access and deployment requirements.
