The Anaconda client command line interface (CLI) is used to build new packages, connect to and manage your Anaconda Repository account, upload packages you have created, and generate access tokens to manage access to private packages from a Terminal window or an Anaconda Prompt.
NOTE: Anaconda Client is not needed to download and search for packages.
While using Anaconda Client with your own Anaconda Repository installation, you need to do some additional configuration to connect with your server. The following steps shows how to set your Anaconda Repository URL for Anaconda client.
1. Install the Anaconda client package:
conda install anaconda-client
2. On each machine that will access your Anaconda Repository, run the following commands with the appropriate URL and port:
For an individual user:
anaconda config --set url http://repo_url:port/api
For all users on the machine:
anaconda config --set url http://repo_url:port/api --site
3. You can test that you are contacting the correct server by logging in with a user on that Repository:
To find the information on your current configuration:
- To see the Repository URL being used, run:
anaconda config --show-sources
- To see where the configuration files are stored on your system, run:
anaconda config --files
SEE ALSO: The documentation on uploading conda packages.