How To Install NVM (Node Version Manager) on macOS with Homebrew

Node Version Manager (NVM) is used to develop NodeJS applications in multi versions, if you install NodeJS native on your system you will quick hit the issue to change the version from eg. NodeJS 10, NodeJS 12, or the newest version at this point NodeJS 18.

Install Homebrew on your macOS

If you did not already have Homebrew installed on your macOS system, then it's the first you need to do, I’m on a Macbook Pro M1 Pro hardware, and for that, you need to do a small thing after you have installed Homebrew.

Install NVM (Node Version Manager) on macOS

NVM is not installed as default that's why we need to install it with help from Homebrew, after it we will add a little line into our .zshrc in our home folder.

After that you can use nvm -v to show the version of nvm you have installed.

Select and install…

--

--

Paris Nakita Kejser
DevOps Engineer, Software Architect and Software Developering

DevOps Engineer, Software Architect, Software Developer, Data Scientist and identify me as a non-binary person.