nvm

Popular
Formula Development v0.40.8

Manage multiple Node.js versions

About

Install nvm on macOS with Homebrew Formula using `brew install nvm`. nvm is a Development command-line package with version 0.40.8. The package is listed in homebrew/core.

Install 1 App in Terminal
$
brew install nvm
Source: homebrew/core GitHub Homebrew

Installation Notes

Please note that upstream has asked us to make explicit managing
nvm via Homebrew is unsupported by them and you should check any
problems against the standard nvm install method prior to reporting.

You should create NVM's working directory if it doesn't exist:
  mkdir ~/.nvm

Add the following to your shell profile e.g. ~/.profile or ~/.zshrc:
  export NVM_DIR="$HOME/.nvm"
  [ -s "$HOMEBREW_PREFIX/opt/nvm/nvm.sh" ] && \. "$HOMEBREW_PREFIX/opt/nvm/nvm.sh"  # This loads nvm
  [ -s "$HOMEBREW_PREFIX/opt/nvm/etc/bash_completion.d/nvm" ] && \. "$HOMEBREW_PREFIX/opt/nvm/etc/bash_completion.d/nvm"  # This loads nvm bash_completion

You can set $NVM_DIR to any location, but leaving it unchanged from
$HOMEBREW_CELLAR/nvm/0.40.8 will destroy any nvm-installed Node installations
upon upgrade/reinstall.

Type `nvm help` for further information.

Official Homebrew Stats

Install activity metrics for nvm.

-40.2% vs 90d avg
30 Days
24.1K total installs
804 installs / day avg
90 Days
120.9K total installs
1.3K installs / day avg
1 Year
518.7K total installs
1.4K installs / day avg

Frequently asked questions

How do I install nvm with Homebrew?

Run brew install nvm in Terminal to install nvm as a Homebrew formula on macOS.

What kind of package is nvm?

nvm is a Development Homebrew formula and FastBrew currently shows version 0.40.8.

What should I review before installing nvm?

Review any caveats, conflicts, license details, and the official homepage before installing.

Related Development Apps

View all

openssl@3

Popular

Cryptography and SSL/TLS Toolkit

ca-certificates

Popular

Mozilla CA certificate store

sqlite

Popular

Command-line interface for SQLite

node

Popular

Open-source, cross-platform JavaScript runtime environment

pcre2

Popular

Perl compatible regular expressions library with a new API

pkgconf

Popular

Package compiler and linker metadata toolkit