Skip to main content

Usage

anaconda token install [OPTIONS] <TOKEN>
Replace <TOKEN> with a token received via email or web interface. If omitted, a new token is issued from anaconda.com.

Description

Issues a new repository token from anaconda.com for your organization and stores it in the keyring. If a token already exists for the organization, you are prompted to confirm before reissuing (reissuing revokes the previous token). When --set-default-channels is enabled (the default), conda is automatically configured to use the premium Anaconda repository channels. Side effects: Writes token to keyring; optionally modifies conda configuration.

Arguments

Argument
Description
TOKEN
(optional) Token received via email or web interface. If omitted, a new token is issued from anaconda.com.

Options

Option
Default
Description
-o, --org <NAME>
Organization name (slug). If omitted and you belong to multiple organizations, you are prompted to select one.
--set-default-channels / --no-set-default-channels
--set-default-channels
Automatically configure conda default channels
-y, --yes
Accept all prompts without confirmation
--help
Show help for this command

Examples

Install a token interactively
anaconda token install
Install for a specific organization
anaconda token install --org my-organization
Install a token received via email
anaconda token install <TOKEN> --org my-organization
Replace <TOKEN> with your authentication token.
Skip all confirmation prompts
anaconda token install --org my-organization --yes