

Update conda automatically (auto_update_conda)Īdd pip as Python dependency (add_pip_as_python_dependency)Ĭonfigure conda for use behind a proxy server (proxy_servers)

Will always take precedence over the other 3. Configuration environment variables (formatted like CONDA_)

For example, configįiles (by parse order) will be superseded by any of the other configuration The precedence by which the conda configuration is built out is shown below.Įach new arrow takes precedence over the ones before it. When conflicts between configurations arise, the following strategies are employed: DefaultĬONDA_ROOT is the path for your base conda install.ĬONDA_PREFIX is the path to the current active environment. XDG_CONFIG_HOME is the path to where user-specific configuration files shouldīe stored defined following The XDG Base Directory Specification (XDGBDS). If on_win : SEARCH_PATH = ( "C:/ProgramData/conda/.condarc", "C:/ProgramData/conda/condarc", "C:/ProgramData/conda/condarc.d", ) else : SEARCH_PATH = ( "/etc/conda/.condarc", "/etc/conda/condarc", "/etc/conda/condarc.d/", "/var/lib/conda/.condarc", "/var/lib/conda/condarc", "/var/lib/conda/condarc.d/", ) SEARCH_PATH += ( "$CONDA_ROOT/.condarc", "$CONDA_ROOT/condarc", "$CONDA_ROOT/condarc.d/", "$XDG_CONFIG_HOME/conda/.condarc", "$XDG_CONFIG_HOME/conda/condarc", "$XDG_CONFIG_HOME/conda/condarc.d/", "~/.config/conda/.condarc", "~/.config/conda/condarc", "~/.config/conda/condarc.d/", "~/.conda/.condarc", "~/.conda/condarc", "~/.conda/condarc.d/", "~/.condarc", "$CONDA_PREFIX/.condarc", "$CONDA_PREFIX/condarc", "$CONDA_PREFIX/condarc.d/", "$CONDARC", )
