mac NVM install - kapilpipaliya/ruby_notes GitHub Wiki

% brew install nvm
Updating Homebrew...
==> Auto-updated Homebrew!
Updated 1 tap (homebrew/core).
==> Updated Formulae
Updated 3 formulae.

Warning: nvm 0.38.0 is already installed and up-to-date.
To reinstall 0.38.0, run:
  brew reinstall nvm

read https://formulae.brew.sh/formula/nvm

add some line to .zprofile

open a new terminal window I have a compiling error when installing node 10

nvm install 12
npm i -g yarn