Documentation Index
Fetch the complete documentation index at: https://mintlify.com/conda/conda/llms.txt
Use this file to discover all available pages before exploring further.
What is Conda?
Conda is a cross-platform, language-agnostic package and environment manager. It helps you install, update, and manage packages and their dependencies, while keeping different projects isolated in separate environments.Conda is developed by Anaconda, Inc. and is open source. Visit the official conda website for more information.
Packages vs Environments
Packages
A package is a bundled archive file containing:- Compiled software libraries and executables
- Configuration files
- Metadata about dependencies and versions
- Package information in JSON format
.conda- The modern, faster package format (v2).tar.bz2- The legacy package format (v1)
Environments
An environment is an isolated directory containing:- A specific collection of packages
- Its own Python/R interpreter (if applicable)
- All dependencies for those packages
- Configuration and metadata in the
conda-meta/directory
- Keep dependencies for different projects separate
- Use different versions of packages for different projects
- Avoid conflicts between package requirements
The default environment is called
base (defined as ROOT_ENV_NAME in the source). This is a reserved environment name along with root.Channels and Repositories
What are Channels?
A channel is a repository location where conda looks for packages. Channels are URLs that point to directories containing package files and metadata.Default Channels
Conda uses different default channels depending on your platform:- Unix/Linux/macOS
- Windows
https://conda.anaconda.org.
Channel Priority
Conda uses a channel priority system to determine which package to install when multiple channels have the same package:- Strict: Install packages only from the highest priority channel that has them
- Flexible: Consider version and build information across all channels
- Disabled: No channel priority enforcement
Prefix and Environment Paths
What is a Prefix?
A prefix is the filesystem path where an environment is installed. Every conda environment has a unique prefix directory.Prefix Structure
Every conda prefix contains:Environment Variables
Conda environments can define custom environment variables in theetc/conda/env_vars.d/ directory.
Prefix Placeholder
During package builds, conda uses a prefix placeholder for binary patching:Supported Platforms
Conda supports multiple platforms and architectures:noarch subdirectory for platform-independent packages.
Configuration Files
Conda searches for configuration files (.condarc) in multiple locations:
- Unix/Linux/macOS
- Windows
Next Steps
Environment Management
Learn how to create and manage conda environments
Package Management
Install, update, and remove packages
Channel Management
Configure and manage package channels