Anaconda Client command reference
Anaconda Client is the command line interface (CLI) for Anaconda.org, and can be used for logging in, logging out, managing your account, uploading files, generating access tokens, viewing tokens, and more! Visit the Getting started with Anaconda Client page for installation instructions for the anaconda-client
package.
This page includes all Anaconda Client commands, their arguments, and their options.
Run anaconda --help
or anaconda <COMMAND> -h
in Anaconda Prompt (Terminal on macOS/Linux) to see this help text in your terminal.
Run the following commands in Anaconda Prompt (Terminal on macOS/Linux).
Looking for conda commands? See the official conda documentation for a full guide to conda commands.
In the command syntax, square brackets ([ ]
) mean a parameter is optional and angle brackets (< >
) mean it’s required. In the examples, angle brackets (< >
) indicate values you should replace with your own.
Global options
Show help message, version, or enable verbose output.
Usage*: anaconda [GLOBAL OPTION]
Option | Short | Description |
---|---|---|
--verbose | -v | Print debug information to the console |
--version | -V | Show version and exit |
--help | -h | Show command information and exit |
Commands
config
Anaconda client configuration (alias for anaconda org config
).
Usage: anaconda config [OPTIONS]
Options
Examples
copy
Copy packages from one account to another (alias for anaconda org copy
, defaults to copying to your account).
Usage: anaconda copy [OPTIONS] <SPEC>
Arguments
Argument | Description |
---|---|
<SPEC> | Package - written as user/package/version[/filename] . If filename is not given, copy all files in the version |
Options
Examples
download
Download packages from your Anaconda repository (alias for anaconda org download
).
Usage: anaconda download [OPTIONS] <HANDLE>
Arguments
Argument | Description |
---|---|
<HANDLE> | [CHANNEL_NAME/]<PACKAGE_NAME> |
Options
Examples
label
Manage your Anaconda repository channels (alias for anaconda org label
).
Usage: anaconda label [OPTIONS] <ACTION>
Options
Examples
move
Move packages between labels (alias for anaconda org move
).
Usage: anaconda move [OPTIONS] <SPEC>
Arguments
Argument | Description |
---|---|
<SPEC> | Package - written as user/package/version[/filename] . If filename is not given, move all files in the version |
Options
Examples
package
Anaconda repository package utilities (alias for anaconda org package
).
Usage: anaconda package [OPTIONS] <USER/PACKAGE> <ACTION>
Arguments
Argument | Description |
---|---|
<USER/PACKAGE> | Package to operate on |
Options
Examples
remove
Remove an object from your Anaconda repository.
Usage: anaconda remove [OPTIONS] <SPEC> [ADDITIONAL_SPECS ...]
Arguments
Argument | Description |
---|---|
<SPEC> | Package written as <user>[/<package>[/<version>[/<filename>]]] |
Options
Examples
search
Search in your Anaconda repository (alias for anaconda org search
).
Usage: anaconda search [OPTIONS] <NAME>
Arguments
Argument | Description |
---|---|
<NAME> | Search string |
Options
Examples
show
Show information about an object (alias for anaconda org show
).
Usage: anaconda show [OPTIONS] <SPEC>
Arguments
Argument | Description |
---|---|
<SPEC> | Package written as user[/package[/version[/file]]] |
Options
Examples
update
Update public attributes of the package or the attributes of the package release (alias for anaconda org update
).
Usage: anaconda update [OPTIONS] <SPEC> <SOURCE>
Arguments
Argument | Description |
---|---|
<SPEC> | Package name written as user/package[/version] |
<SOURCE> | Path to the file that consists of metadata that will be updated in the destination package. It may be a valid package file or .json file with described attributes to update |
Options
Examples
upload
Upload packages to your Anaconda repository (alias for anaconda org upload
).
Usage: anaconda upload [OPTIONS] <FILE> [FILES ...]
Arguments
Argument | Description |
---|---|
<FILE> | Distributions to upload |
Options
Examples
See Also
Plugins
auth
Anaconda.com authentication commands.
Usage: anaconda auth [OPTIONS] <COMMAND> [ARGS]...
Options
Commands
Command | Description | Arguments |
---|---|---|
api-key | Display API key for signed-in user | |
login | Log in to Anaconda.com | [--force | --no-force] [--ssl-verify | --no-ssl-verify] |
logout | Log out of Anaconda.com | |
whoami | Display information about the current signed-in user |
Examples
org
Interact with Anaconda.org.
Most anaconda org
commands have convenient aliases available at the top level (for example, anaconda upload
instead of anaconda org upload
). See Commands for detailed documentation.
Usage: anaconda org [OPTIONS] COMMAND [ARGS]...
Commands
Command | Description |
---|---|
auth | Manage authorization tokens |
config | Anaconda Client configuration |
copy | Copy packages from one account to another |
download | Download packages from your Anaconda repository |
groups | Group management |
label | Manage your Anaconda repository channels |
login | Authenticate a user |
logout | Log out from binstar |
move | Move packages between labels |
package | Anaconda repository package utilities |
remove | Remove an object from your Anaconda repository |
search | Search in your Anaconda repository |
show | Show information about an object |
update | Update public attributes of the package or the attributes of the package release |
upload | Upload packages to your Anaconda repository |
whoami | Print the information of the current user |
Examples
token
Manage your Anaconda repo tokens.
Usage: anaconda token [OPTIONS] <COMMAND> [ARGS]...
Options
Commands
Command | Description | Arguments |
---|---|---|
config | Configure conda’s default channels to access Anaconda’s premium repository | [TOKEN] [--force | --no-force] [-o | --org TEXT] [--set-default-channels | --no-set-default-channels] |
install | Create and install a new repository token | |
list | List all installed repository tokens | |
uninstall | Uninstall a repository token for a specific organization | [-o | --org TEXT] |
Examples
Authentication
login
Sign into Anaconda services.
Usage: anaconda login [OPTIONS]
Options
Examples
logout
Sign out from Anaconda services.
Usage: anaconda logout [OPTIONS]
Options
Examples
whoami
Display account information.
Usage: anaconda whoami [OPTIONS]
Options
Examples