First we will remove node and yarn
brew uninstall yarn
brew uninstall node  
brew uninstall node@8Close and open terminal
brew cleanupCheck that you don't have any node version still running. You should get an error with this:
node -vInstall nvm
curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.34.0/install.sh | bashClose and open terminal
command -v nvmYou should get nvm
If not you will have to add the NVM directory paths to your zshrc profile (I didn't had to do it ๐)
This shows you available versions of node... Please run it and laugh
nvm ls-remoteTo run our repos you need
nvm install v8.16.1Close and open terminal
node -vshould return v8.16.1
brew install yarnYou should be good to go. Remember to run yarn install on your favorite repo ๐