Skip to content

Instantly share code, notes, and snippets.

@okeydoke
Last active June 15, 2016 16:38
Show Gist options
  • Save okeydoke/435fc1306af55ab5b53d5952b80a03f3 to your computer and use it in GitHub Desktop.
Save okeydoke/435fc1306af55ab5b53d5952b80a03f3 to your computer and use it in GitHub Desktop.
Windows 10 Bash node/npm
# Get root up in here
sudo su
# Update and begin installing some utility tools
apt-get -y update
#install git
apt-get install git-all
# Get latest version of node
curl -sL https://deb.nodesource.com/setup_6.x | sudo -E bash -
sudo apt-get install -y nodejs
# add ssh setup
ssh-keygen -t rsa -b 4096 -C "your_email@example.com"
#(hit enter for location)
#(set passphrase )
#Add to ssh agent
eval $(ssh-agent -s)
ssh-add ~/.ssh/id_rsa
#copy contents of file
cat ~/.ssh/id_rsa.pub
#goto github and add contents to a new ssh key
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment