Installing NVM/Node on latest version of OSX

Mohan pd.
Written by Mohan pd. on
Installing NVM/Node on latest version of OSX

If you’re new to Javascript and NodeJS and looking for setting up the development environment then this guide s for you. Follow along the guide to install Node and Yarn which is required for almost any Javascript project.

Install Git/Homebrew

ruby -e "$(curl -fsSL"  brew doctor brew install git \

Install NVM

curl -o- | bash

If the install command produces an error asking for a .profile or .bashrc run touch ~./profile then run the install command again Once this is complete run

command -v nvm 

and restart your terminal.

Install Yarn

Yarn is a more reliable and faster package manager than NPM, use it instead of

npm install

npm i -g yarn 
Mohan pd.

Mohan pd.

Author of The Coders Blog. Also a professional fullstack javascript developer working with various tech company and client around world.


comments powered by Disqus