Search code examples
versionupgrademamba

mamba upgrade to 1.x


I have mamba 0.27 installed on my mac OS. How can I upgrade to mamba 1.x?

Can I simply do a fresh re-installation of the newer version, if I want to keep my existing mamba environments and settings?

I checked mamba's documentation, and I searched in internet, but could not find any "how to upgrade" information.

thanks!


Solution

  • Mamba is like any other package in a Conda environment and can be updated like:

    mamba update -n base mamba
    

    If that doesn't update (perhaps due to needing dependencies updated), another option is to use a minimum version:

    mamba install -n base 'mamba>=1'
    

    Please note the use of quotations to avoid the > being interpreted writing to a file called "=1".