$ xcode-select --install
$ sudo xcodebuild -license
$ curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.6/install.sh | bash
Restart terminal
$ nvm ls-remote | tail
$ nvm install [version]
$ npm update -g
$ /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
$ brew install wget
4. install yarn
$ brew install yarn --without-node