Anaconda Server CLI
The Anaconda Server 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
This topic provides guidance on the following actions:
- Installing the conda repo CLI
- Conda repo configuration
- OAuth and SAML configuration
- Logging in
- Further assistance
Installing the conda repo CLI
Install the Anaconda Server CLI (hereafter referred to as simply CLI) the conda-repo-cli
package:
The Anaconda Server 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 Server channel.
Conda repo configuration
Follow these steps to configure your conda repo site:
-
Use the following commands if you are using SSL:
-
Use the following commands if you are not using SSL:
For example, <SITE\_NAME>
may be anaconda-repo and <DOMAIN>
may be anaconda-repo.company.com.
OAuth and SAML configuration
If you are using OAuth or SAML, run the following command to go through the standard SAML authorization flow after configuring your site:
when you run conda repo login
, a browser window will open for you to log in to Anaconda Server. After login has completed, the window will display âToken Received.â
You can then close the browser window and continue to use the CLI.
Logging in
Run the following code to log in to Anaconda Server:
Now you will be able to install packages from private and authenticated channels you have access to.
Further assistance
For a more robust view of conda repo commands, run the following command:
Similarly, appending --help
or the shorthand -h
to a command will provide you with further actions you can take, such as the following:
Was this page helpful?