CLAWRIM Wiki

The Computational Lab for Advanced Water Resources Informatics and Modeling

User Tools

Site Tools


howtos:how_to_install_micromamba

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
howtos:how_to_install_micromamba [2026-01-31 11:21 am] hchohowtos:how_to_install_micromamba [2026-03-03 03:48 pm] (current) hcho
Line 6: Line 6:
 # install micromamba # install micromamba
 curl -L https://micro.mamba.pm/install.sh | env \ curl -L https://micro.mamba.pm/install.sh | env \
-  BIN_FOLDER="$HOME/usr/local/bin"+  BIN_FOLDER="$HOME/local/bin"
-  PREFIX_LOCATION="$HOME/usr/local/opt/micromamba" \+  PREFIX_LOCATION="$HOME/opt/micromamba" \
   sh   sh
  
Line 14: Line 14:
  
 # source micromamba # source micromamba
-source ~/.bashrc+~/.bashrc
 </code> </code>
  
Line 23: Line 23:
 <code batch> <code batch>
 rem install micromamba rem install micromamba
-mkdir %USERPROFILE%\usr\local\bin +mkdir %USERPROFILE%\local\bin 
-curl -L https://github.com/mamba-org/micromamba-releases/releases/latest/download/micromamba-win-64.exe -o %USERPROFILE%\usr\local\bin\micromamba.exe+curl -L https://github.com/mamba-org/micromamba-releases/releases/latest/download/micromamba-win-64.exe -o %USERPROFILE%\local\bin\micromamba.exe
  
-rem if %USERPROFILE%\usr\local\bin is not in PATH +rem if %USERPROFILE%\local\bin is not in PATH 
-set PATH=%USERPROFILE%\usr\local\bin;%PATH%+set PATH=%USERPROFILE%\local\bin;%PATH%
 setx PATH %PATH% setx PATH %PATH%
  
 rem set the root prefix of micromamba rem set the root prefix of micromamba
-set MAMBA_ROOT_PREFIX=%USERPROFILE%\usr\local\opt\micromamba+set MAMBA_ROOT_PREFIX=%USERPROFILE%\opt\micromamba
 setx MAMBA_ROOT_PREFIX %MAMBA_ROOT_PREFIX% setx MAMBA_ROOT_PREFIX %MAMBA_ROOT_PREFIX%
  
howtos/how_to_install_micromamba.1769883706.txt.gz · Last modified: by hcho

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki