Skip to main content
Use features to configure conda or pixi to access Anaconda package channels. Log in before you begin.

Usage

To list features available in your build, run:
To enable or disable a feature, use:

Arguments

Options

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

Main-x

The main-x channel 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.

Enable main-x

To configure conda, run:
Review the displayed conda config commands before confirming. To inspect the resulting configuration, run:
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), and r (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.

Disable main-x

Use the same package-manager flag you used when enabling the feature:
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.
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:
Authenticate before running this in CI. --force skips the configuration confirmation; it does not install a missing package manager or supply credentials.

Anaconda Platform

Use ana platform to work with Anaconda Platform from your terminal on Linux and on Macs with Apple silicon. No feature flag is needed. The first time you run an ana platform command, ana installs the outerbounds companion tool for you. ana platform passes every argument to the outerbounds CLI unchanged, so ana platform <COMMAND> runs the same command as outerbounds <COMMAND>. Any command the outerbounds CLI supports works through ana platform, and help output refers to the tool as ana platform. Log in, then inspect the available commands:
To configure an instance, run:
Before you can run platform commands, configure the CLI with the personal configuration string from your Anaconda Platform organization:
  1. Log in to your Anaconda Platform organization.
  2. Click your profile in the lower-left corner, then select Local Setup.
  3. Copy the configuration string from the configure command shown on the page, and run it with ana platform:
The command writes your configuration to ~/.metaflowconfig. For configuration options, profiles for multiple organizations, and the full command list, see Getting started with the platform CLI.
Anaconda CLI 1.0.1 removed the subcommands that ana previously added on top of the outerbounds CLI: init, deploy, app open, app view, and configure --instance. Those arguments now go to the outerbounds CLI, which doesn’t provide them. ana platform check now runs outerbounds check instead of ana’s own configuration check. To configure the CLI, use ana platform configure <CONFIGURATION_STRING>.
Platform commands are not available in conda-packaged builds, on Windows, or on Intel-based Macs.