Overview
This page provides a comprehensive reference for all configuration settings available in conda. Settings can be specified in:.condarcfiles (YAML format)- Environment variables (prefixed with
CONDA_) - Command-line arguments
conda config --describe to see descriptions of all settings, or conda config --describe <parameter> for a specific setting.
Channel Configuration
Settings that control where conda searches for packages.The list of conda channels to search for packages. Channels earlier in the list have higher priority.Environment variable:
CONDA_CHANNELS (comma-separated)Base URL prepended to channel names that don’t include a full URL. Used to resolve simple channel names.Environment variable:
CONDA_CHANNEL_ALIASDetermines how strictly conda respects channel priority during dependency resolution.Environment variable:
strict: Only consider packages from the highest-priority channel that contains any version of a packageflexible: Prefer higher-priority channels but allow lower-priority channels to satisfy dependenciesdisabled: Ignore channel priority entirely; choose packages based solely on version
CONDA_CHANNEL_PRIORITYThe list of channel URLs used for the ‘defaults’ multichannel.Environment variable:
CONDA_DEFAULT_CHANNELSA mapping of channel names to URLs. Overrides the default Environment variable: Not supported
channel_alias for specific channels.Define custom multichannels (groups of channels referenced by a single name).Environment variable: Not supported
Allow use of the
--override-channels CLI flag to ignore configured channels.Only allow packages from these channels. If specified, channels not in this list are ignored.Environment variable:
CONDA_ALLOWLIST_CHANNELSNever use packages from these channels.Environment variable:
CONDA_DENYLIST_CHANNELSDirectory Configuration
Settings for environment and package storage locations.Directories to search for named environments. When creating a new environment, it will be placed in the first writable directory.Default:
[$CONDA_ROOT/envs, ~/.conda/envs]Environment variable: CONDA_ENVS_DIRS (path separator-delimited)Directories for package caches. Downloaded packages are extracted into the first writable directory.Default:
[$CONDA_ROOT/pkgs, ~/.conda/pkgs]Environment variable: CONDA_PKGS_DIRS (path separator-delimited)Solver Configuration
Settings that control dependency resolution and package updates.The solver backend to use for dependency resolution.Environment variable:
classic: Original conda solverlibmamba: Faster solver using libmamba (recommended)
CONDA_SOLVERPackages that are always updated to the latest version when they are part of an install/update operation.Environment variable:
CONDA_AGGRESSIVE_UPDATE_PACKAGESAutomatically update conda when a newer version is available.Environment variable:
CONDA_AUTO_UPDATE_CONDAPackage specifications to pin in every environment. These packages will be held at specified versions.Environment variable:
CONDA_PINNED_PACKAGES (ampersand-separated)Package specifications that are not allowed to be installed.Environment variable:
CONDA_DISALLOWED_PACKAGES (ampersand-separated)Packages that are automatically added to newly created environments.Environment variable:
CONDA_CREATE_DEFAULT_PACKAGESNetwork Configuration
Settings for internet connectivity and remote repositories.SSL certificate verification setting. Can be:Environment variable:
true: Verify certificates using system CA bundlefalse: Disable verification (not recommended)- Path to CA bundle file
- Path to directory containing CA certificates
'truststore': Use OS certificate store (Python 3.10+)
CONDA_SSL_VERIFYPath to a client SSL certificate file (or combined cert/key PEM file).Environment variable:
CONDA_CLIENT_SSL_CERTPath to a client SSL certificate key file (when cert and key are separate).Environment variable:
CONDA_CLIENT_SSL_CERT_KEYHTTP/HTTPS proxy server configuration.Environment variables:
HTTP_PROXY, HTTPS_PROXYSeconds to wait for connection to remote servers.
Seconds to wait for server response after connection.
Maximum number of HTTP request retries.
Backoff factor for retry delays.
Restrict conda to cached content and file:// URLs only.Environment variable:
CONDA_OFFLINEHow long to cache repodata locally (in seconds).
falseor0: Always fetch fresh repodatatrueor1: Respect HTTP Cache-Control headers- Other positive integer: Cache for this many seconds
Package Linking Configuration
Settings for how packages are installed into environments.Always copy files instead of using hard-links during installation.Environment variable:
CONDA_ALWAYS_COPYAlways use soft-links (symlinks) instead of hard-links. Warning: This can cause environment corruption.Environment variable:
CONDA_ALWAYS_SOFTLINKAllow conda to use soft-links when hard-links aren’t possible (e.g., across filesystems).
How to handle conflicting/overlapping file paths during installation.
clobber: Overwrite files from other packageswarn: Warn about conflicts but proceedprevent: Fail installation if conflicts exist
Revert changes if an error occurs during package installation.
Level of safety checks during installation.
enabled: Run all safety checks, fail on errorswarn: Run checks, warn on errors but continuedisabled: Skip safety checks
Perform additional safety checks (SHA-256 verification of all files).
Allow packages to create OS-specific shortcuts (e.g., Windows Start Menu entries).
User Interface Configuration
Settings that control conda’s output and interaction.Automatically answer ‘yes’ to all prompts.Environment variable:
CONDA_ALWAYS_YESDisable progress bars and minimize output.Environment variable:
CONDA_QUIETOutput all results in JSON format.Environment variable:
CONDA_JSONOutput verbosity level (0-4). Higher numbers produce more detailed output.Environment variable:
0: Standard output1: Detailed output2: Info-level logging3: Debug-level logging4: Trace-level logging
CONDA_VERBOSITYShow channel URLs when displaying packages.
Automatically activate the base environment (or configured default environment) during shell initialization.Environment variable:
CONDA_AUTO_ACTIVATEModify the shell prompt to show the active environment name.Environment variable:
CONDA_CHANGEPS1Template for the environment name in the shell prompt. Supports Environment variable:
{prefix}, {name}, and {default_env} variables.CONDA_ENV_PROMPTPerformance Configuration
Settings to optimize conda’s performance.Default number of threads for parallel operations. If not set, conda chooses automatically.Environment variable:
CONDA_DEFAULT_THREADSThreads for downloading and reading repodata. Defaults to Environment variable:
default_threads if not set.CONDA_REPODATA_THREADSThreads for downloading packages. Defaults to 5 if neither this nor Environment variable:
default_threads is set.CONDA_FETCH_THREADSThreads for verifying package integrity. Defaults to 1 if neither this nor
default_threads is set.Threads for executing link/unlink operations. Defaults to 1 if neither this nor
default_threads is set.Use cached index data instead of fetching fresh data.
Advanced Settings
Override the platform/architecture (e.g., Environment variable:
linux-64, osx-arm64, win-64). Useful for cross-platform package creation.CONDA_SUBDIRAdditional subdirs to consider during package resolution.
Disable all plugins except built-in conda plugins.Environment variable:
CONDA_NO_PLUGINSDisable file locking. Warning: Can cause race conditions.Environment variable:
CONDA_NO_LOCKList of repodata filenames to try, in order.
Enable plugins to interact with non-conda-installed packages (e.g., pip packages).
Viewing Settings
To explore all available settings and their current values:See Also
- .condarc Configuration - How to use .condarc files
- Environment Variables - Configure via environment variables
- conda config - CLI reference for managing settings