Individual paid plans with private packages are a legacy offering from Anaconda.org that are no longer available. However, anyone who had private packages in the past still has the ability to have those hosted privately.
Making packages private
By default, all packages uploaded to Anaconda.org are accessible to anyone who has access to the .As of August 30, 2023, only users with paid plans can mark their packages as private.
- From your dashboard, select the package.
- Select Manage.
- Navigate to the Settings tab.
- Select Admin in the sidebar.
- Select Private.
Other Anaconda.org users may access your private packages either with tokens or by logging in.
Accessing private packages with tokens
To make your private packages accessible with , create an access token that includes the following scope for Anaconda Client:Using the token to access private packages
If you intend to install many packages from a private channel, you can include the channel in your.condarc file. This will include the token any time you search for packages on that channel. To add a user channel to your .condarc file from Anaconda Prompt (Terminal on macOS/Linux), run the following command:
Replace <TOKEN> with the provided token.
Replace <CHANNEL> with a user channel.
Replace <CHANNEL> with a user channel.
.condarc file by using the channel’s full URL. In Anaconda Prompt (Terminal on macOS/Linux), run the following command:
Replace <TOKEN> with the provided token.
Replace <CHANNEL> with a user channel.
Replace <PACKAGE> with the name of the package you want to install.
Replace <CHANNEL> with a user channel.
Replace <PACKAGE> with the name of the package you want to install.
Accessing a private package that has a label
To install a package from a channel using the token and name:Replace <TOKEN> with the provided token.
Replace <CHANNEL> with a user channel.
Replace <LABEL_NAME> with the label name.
Replace <PACKAGE> with the name of the package you want to install.
Replace <CHANNEL> with a user channel.
Replace <LABEL_NAME> with the label name.
Replace <PACKAGE> with the name of the package you want to install.
Using the token to access private PyPI packages
Private PyPI packages can also be installed in the web UI:Replace <TOKEN> with the provided token.
Replace <CHANNEL> with a user channel.
Replace <CHANNEL> with a user channel.
Accessing private packages as a registered user
To make your private packages available to users who have logged in:- Create an organization.
- Create a group (which can be read-only) in that organization.
- Add the desired users to the group.
- Upload the package to the organization, or transfer an existing package to the organization.
- In a browser, navigate to the desired channel.
-
Open Anaconda Prompt (Terminal on macOS/Linux) and run the following command:
Replace <ORGANIZATION> with the organization name.
Replace <PACKAGE> with the package name.
Private channels
You can install a package from a private channel with a and a Label:Replace <TOKEN> with the provided token.
Replace <CHANNEL> with a user channel.
Replace <LABEL_NAME> with the label name.
Replace <PACKAGE> with the name of the package you want to install.
Replace <CHANNEL> with a user channel.
Replace <LABEL_NAME> with the label name.
Replace <PACKAGE> with the name of the package you want to install.
Finding help for uploading packages
You can obtain a complete list of upload options, including:- Package channel
- Label
- Availability to other users
- Metadata