Skip to content

Instantly share code, notes, and snippets.

@rustyb
Last active May 4, 2018 14:27
Show Gist options
  • Save rustyb/68813cc84b4e3c856c83817e5ff7ee51 to your computer and use it in GitHub Desktop.
Save rustyb/68813cc84b4e3c856c83817e5ff7ee51 to your computer and use it in GitHub Desktop.
sudo apt install nodejs curl
curl -sSL https://rvm.io/mpapis.asc | gpg --import -
curl -sSL https://get.rvm.io | bash -s stable --ruby

https://github.com/creationix/nvm#install-script

curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.11/install.sh | bash

# on first install do this so you don't need to opne a new terminal
export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"  # This loads nvm
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion"  # This loads nvm bash_completion

#install node 8
nvm install 8

install git

sudo apt-get install git

Install and setup your ssh keys and access token (optional) for github https://help.github.com/articles/generating-a-new-ssh-key-and-adding-it-to-the-ssh-agent/#generating-a-new-ssh-key

add ssh key to github https://help.github.com/articles/adding-a-new-ssh-key-to-your-github-account

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

sudo apt-get update
sudo apt-get install --no-install-recommends yarn
yarn --version
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment