Created
January 9, 2018 03:05
-
-
Save 0x8BADFOOD/72094b8006a1bf07c214eeb450327a88 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Uninstalling node | |
curl -ksO https://gist.githubusercontent.com/nicerobot/2697848/raw/uninstall-node.sh | |
chmod +x ./uninstall-node.sh | |
./uninstall-node.sh | |
#Installing node | |
brew install node | |
brew link node | |
brew link --overwrite node | |
sudo npm install npm@latest -g | |
#Installing yarn | |
brew install yarn | |
sudo sysctl -w kern.maxfiles=5242880 | |
sudo sysctl -w kern.maxfilesperproc=524288 | |
npm start |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment