Conda/Mamba tips and tricks: Difference between revisions

From HPCWIKI
Jump to navigation Jump to search
(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...")
 
Line 6: Line 6:
</syntaxhighlight>
</syntaxhighlight>


== Manage Conda Channel ==
== Conda commands ==
{| class="wikitable"
{| class="wikitable sortable"
|+
|+
!Commands
!Commands
Line 23: Line 23:
|<code>conda config --show-sources</code>
|<code>conda config --show-sources</code>
|Show config
|Show config
|
|-
|<code>conda update --all --verbose</code>
|Update all conda with printout
|
|
|-
|-

Revision as of 09:44, 24 May 2023

Downgrading Conda Version

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

Conda commands

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 update --all --verbose Update all conda with printout
conda list --show-channel-urls Listup conda channels

Reference