Accepting the ToS in continuous integration (CI) environments: If you encounter prompts in your CI environment, you can set the CONDA_PLUGINS_AUTO_ACCEPT_TOS environment variable to “yes” to accept the Terms of Service automatically and continue your builds without interruption.

As one of Anaconda’s millions of users, naturally you want to know when you’re using open source with Anaconda and how to use it worry free. Previously, if Anaconda’s Terms of Service (ToS) changed after installation, users weren’t automatically notified or prompted to accept the updates. To solve that concern, we’re introducing the conda-anaconda-tos plugin, a command line tool that ensures you stay informed about ToS changes and requirements throughout your conda workflow while also facilitating ToS acceptance. 

What does the plugin do?

The conda-anaconda-tos plugin integrates with conda to notify users when they’re accessing Anaconda channels or packages covered by our Terms of Service (ToS). It automatically works with common conda commands like create, search, and install, showing a clear prompt when ToS acceptance is required. The plugin activates when users access Anaconda’s ToS-governed resources, letting normal conda operations proceed without interruption. When a user first attempts to access an Anaconda channel or package covered by our ToS, the plugin will prompt the user to accept or reject the ToS in the command line. If the user accepts the ToS, the user can proceed and a record of that acceptance is sent to Anaconda. If the user rejects the ToS, they cannot proceed with accessing the channel or package. This creates a seamless way to manage ToS acceptance while users work with packages and channels.

Automated Workflows

Update: We’ve identified an issue where the plugin may prompt for Terms of Service acceptance in some continuous integration (CI) environments. This behavior is not intended, and we’re actively working on a fix. We apologize for any disruption this may cause to your automated workflows. Keep up to date with the status here

Accepting the ToS in continuous integration (CI) environments: If you encounter prompts in your CI environment, you can set the CONDA_PLUGINS_AUTO_ACCEPT_TOS environment variable to “yes” to accept the Terms of Service automatically and continue your builds without interruption.

How it’s designed to work: The plugin is designed to detect CI environments and avoid interrupting automated processes with consent prompts. In properly detected CI environments, it prints a clear notice that using Anaconda packages or channels means you’re agreeing to our Terms of Service. When using Anaconda’s Docker images in continuous integration systems, the CI environment variable might not be automatically passed to the container, which can lead to unexpected ToS prompts during your CI/CD workflows. We recommend passing the CONDA_PLUGINS_AUTO_ACCEPT_TOS environment variable to Docker or explicitly accepting the ToS by running conda ToS accept.

Check out the README for more information on working with the conda-anaconda-tos plugin in Docker containers.

How does this help?

We’re making it easier to know when our ToS applies to you, eliminating confusion about which packages or channels require acceptance. This plugin provides clear visibility when you’re about to use Anaconda resources that require ToS acceptance, so you can make informed decisions with confidence. The plugin also alerts you when the ToS has changed and requires re-acceptance, keeping you up to date over time. If you need additional tools or have suggestions for better integration into your workflow, create an issue to let us know—we’re here to help.

Who does this help?

The plugin serves users of Anaconda Distribution or Miniconda who work with Anaconda’s channels and packages through the conda command line interface (CLI), Navigator, or Notebooks. The plugin doesn’t affect conda users who only use community channels—it activates only when accessing Anaconda ToS-governed resources. Miniconda is not governed by Anaconda’s ToS, so you will not be required to accept the ToS when installing Miniconda.

Transparency

We love building in the open here at Anaconda; it’s at the core of our mission, vision, and values. The plugin maintains transparency under the BSD 3-Clause License, with all code available for public review. Use the issue template to open questions about the conda-anaconda-tos plugin or check out other issues in the GitHub repository to see what else has been asked. The conda-anaconda-tos plugin focuses on tracking the user’s acceptance of the ToS and can be integrated into any workflow that surfaces user prompts via the command line. Being open source, it serves as a reference implementation that the conda community can use to add ToS opt-in functionality to their own channels.

Resources

GitHub repository

Documentation

Terms of Service