Anaconda Team Edition CLIΒΆ
The Anaconda Team Edition CLI is used by both users and administrators to do the following:
Install packages from private or authenticated channels
Configure channels
Upload assets
Create mirrors
Install the Anaconda Team Edition CLI (hereafter referred to as simply CLI) the conda-repo-cli
package:
conda install conda-repo-cli
Note
The Anaconda Team Edition administrators may also choose to mirror this package into a channel on the server.
Contact your administors to determine if conda-repo-cli
can be installed from an Anaconda Team Edition channel.
Configure your conda repo site:
Use the following commands (ensuring you replace the placeholders) if you are using SSL:
# Replace <SITE_NAME> with the short tag you'll use to identify the fully qualified domain name. # Replace <DOMAIN> with your domain. conda repo config --set sites.<SITE_NAME>.url http(s)://<DOMAIN>/api conda repo config --set default_site <SITE_NAME> # The following is an example of two sites, one for production and the second for development: # conda repo config --set sites.production.url https://prod.my-ate.company.com/api # conda repo config --set sites.development.url https://dev.my-ate.company.com/api
Use the following commands (ensuring you replace the placeholders) if you are not using SSL:
# Replace <SITE_NAME> with the short tag you'll use to identify the fully qualified domain name. # Replace <DOMAIN> with your domain. conda repo config --set sites.<SITE_NAME>.url http://<DOMAIN>/api conda repo config --set default_site <SITE_NAME>
For example, <SITE_NAME> may be anaconda-repo and <DOMAIN> may be anaconda-repo.company.com.
conda repo login # You will be prompted to enter your Team Edition username and password
Now you will be able to install packages from private and authenticated channels you have access to.
For a more robust view of conda repo commands, run the following command:
conda repo --help
Similarly, appending --help
or the shorthand -h
to a command will provide you with further actions you can take, such as the following:
conda repo mirror -h
conda repo channel -h
conda repo upload -h