Skip to content

Instantly share code, notes, and snippets.

@scottsword
Created February 1, 2017 18:35
Show Gist options
  • Save scottsword/980e2309fa41e590aa672ef43711ff45 to your computer and use it in GitHub Desktop.
Save scottsword/980e2309fa41e590aa672ef43711ff45 to your computer and use it in GitHub Desktop.
#!/bin/bash
curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.0/install.sh | bash
export NVM_DIR="/Users/$USER/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
nvm --version
nvm install
curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -
echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
export PATH="$PATH:`yarn global bin`"
yarn --version
yarn install
npm start
echo Setup completed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment