DEV Community

Hamad
Hamad

Posted on

๐—ก๐—ผ๐—ฑ๐—ฒ ๐—ฉ๐—ฒ๐—ฟ๐˜€๐—ถ๐—ผ๐—ป ๐— ๐—ฎ๐—ป๐—ฎ๐—ด๐—ฒ๐—ฟ for macOS

๐—ก๐—ผ๐—ฑ๐—ฒ ๐—ฉ๐—ฒ๐—ฟ๐˜€๐—ถ๐—ผ๐—ป ๐— ๐—ฎ๐—ป๐—ฎ๐—ด๐—ฒ๐—ฟ:
NVM (Node Version Manager) is a shell script used for installing and managing Node.js. Node version manager is primarily used to develop node applications in different versions.

๐—ฃ๐—ฟ๐—ฒ๐—ฟ๐—ฒ๐—พ๐˜‚๐—ถ๐˜€๐—ถ๐˜๐—ฒ:
macOS users can install NVM via homebrew as itโ€™s the most recommended approach, once installed you can go ahead and install NVM on your macOS

๐—–๐—ผ๐—บ๐—บ๐—ฎ๐—ป๐—ฑ๐˜€:
brew install nvm

It is required to create a directory and register it in our .zshrc

nvm)/nvm.sh" >> .zshrc
source ~/.zshrc

๐—ฃ๐—ผ๐˜€๐˜ ๐—œ๐—ป๐˜€๐˜๐—ฎ๐—น๐—น๐—ฎ๐˜๐—ถ๐—ผ๐—ป:
After that you can use nvm -v to show the version of nvm you have installed.

๐—š๐˜‚๐—ถ๐—ฑ๐—ฒ:
We've followed this guide while configuring nvm on our Mac, I hope it'll cover the purpose.
https://medium.com/devops-techable/how-to-install-nvm-node-version-manager-on-macos-with-homebrew-1bc10626181
Image description

Thank you for stopping by and feel free to drop a link to a resource you thought more useful!

:: Follow me on linkedin https://www.linkedin.com/in/imhamad/ and here to stay updated with more engaging content.

Top comments (0)