Conda/Mamba tips and tricks

From HPCWIKI
Revision as of 09:42, 24 May 2023 by Admin (talk | contribs) (Created page with " == Downgrading Conda Version == <syntaxhighlight lang="bash"> conda config --set allow_conda_downgrades true conda install conda=a.b.c # version you want to install </syntaxhighlight> == Manage Conda Channel == {| class="wikitable" |+ !Commands !Description !Notes |- |<code>conda config --add channels conda-forge</code> |Add conda channel | |- |<code>conda config --set channel_priority strict</code> |Set channel priority policy | |- |<code>conda config --show-sourc...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Downgrading Conda Version

conda config --set allow_conda_downgrades true
conda install conda=a.b.c   # version you want to install

Manage Conda Channel

Commands Description Notes
conda config --add channels conda-forge Add conda channel
conda config --set channel_priority strict Set channel priority policy
conda config --show-sources Show config
conda list --show-channel-urls Listup conda channels

Reference