Skip to content

NVM-SH/NVM Changelog

This page records the update history of major versions of NVM-SH/NVM for Linux/MacOS/WSL.

v0.39.3 (2023-01-24)

  • Improved installation experience on macOS and Linux
  • Added support for the latest Node.js versions
  • Fixed issues involving ARM architecture
  • Updated documentation and examples

v0.39.0 (2022-01-10)

  • Added forced reinstallation options
  • Improved network connection handling
  • Added support for new shells
  • Updated installation scripts

v0.38.0 (2021-02-02)

  • Added better version parsing
  • Improved support for Apple M1 chips
  • Added npm version locking functionality
  • Fixed multiple security issues

v0.37.0 (2020-10-29)

  • Added new alias commands
  • Improved handling of .nvmrc files
  • Fixed compatibility issues in certain terminals
  • Updated error messages and documentation

v0.35.0 (2019-08-16)

  • Added mirror site support
  • Improved version installation process
  • Fixed PATH handling issues
  • Updated auto-completion scripts

How to Upgrade

Upgrading NVM for Windows

  1. Download the latest version of the installer
  2. Uninstall the current version of NVM for Windows
  3. Install the new version
  4. Reinstall previously used Node.js versions

Upgrading NVM-SH/NVM

bash
# Method 1: Using the installation script
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.3/install.sh | bash

# Method 2: Using git
cd "$NVM_DIR" && git fetch --tags origin && git checkout `git describe --abbrev=0 --tags --match "v[0-9]*" $(git rev-list --tags --max-count=1)`

After upgrading, close and reopen your terminal, or run the following command:

bash
source ~/.bashrc  # or source ~/.zshrc

Built with VitePress