Before you can access Anaconda services, you need to authenticate. The login process takes a few seconds.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.
Log in
- Windows
- macOS/Linux
C:\Users\<USER_NAME>\.anaconda\keyringana commands authenticate automatically using this stored key until it expires.
The activation URL is always displayed in the terminal. If your browser does not open automatically (SSH sessions, containers, headless servers), follow the on-screen link to complete authentication.
Options
Log in with an API key
If you already have an API key, you can skip the browser flow by passing it with the--api-key flag:
Non-interactive login for CI/CD
For pipelines, Docker builds, or other environments where no human is present, set theANACONDA_AUTH_API_KEY environment variable instead of running ana login. All CLI commands use this key automatically when set.
Store your API key in your CI provider’s secrets storage (such as GitHub Actions secrets or GitLab CI/CD variables) and expose it as ANACONDA_AUTH_API_KEY in your workflow. For Docker-specific guidance, see Authenticated Docker builds.
Display your stored API key
Display account information
--json flag to output as JSON:
Log out
What’s next
With authentication in place, you can enable features like themain-x channel to configure your package managers.