In order to access private channels via third-party tools (such as pip, Twine, or R), you must have a user token. This can be done through the conda repo tool or by creating channel-specific, read-only/read-write tokens via UI.Documentation Index
Fetch the complete documentation index at: https://anaconda.com/docs/llms.txt
Use this file to discover all available pages before exploring further.
Python packages
Uploading
Twine is a popular tool for uploading Python packages to PyPI-like repositories. Run the following command to upload Python packages:Installing
Similar to pip, Anaconda Server supports user authentication using Basic Authentication. The following is the proper format for installing pip packages:x-auth-token is not a placeholder, but is used as the actual password for Basic Authentication.R packages
Uploading
Since there is no standard tool for uploading R packages, you can use either the UI or API directly. Run the following command to upload R packages:<TOKEN> is the x-auth-token.
Example
Please use cran_source_package for source packages and cran_binary_package for binary R packages.
Installing
You can use your domain as a repository URL in theinstall.packages function by injecting a token into the path: