Skip to content

Instantly share code, notes, and snippets.

@skippednote
Last active January 1, 2016 02:28
Show Gist options
  • Select an option

  • Save skippednote/8079028 to your computer and use it in GitHub Desktop.

Select an option

Save skippednote/8079028 to your computer and use it in GitHub Desktop.
#!/usr/bin/env bash
# Ask for the administrator password upfront
sudo -v
# Create ~/.bashrc
touch ~/.bashrc ~/.bash_profile
# Setup NVM
curl https://raw.github.com/creationix/nvm/master/install.sh | sh
# Source Bash
source ~/.bashrc
# Install Latest Version of node
nvm install v0.10.24
# Set NVM node default
nvm alias default v0.10.24
#Install Socket.io
npm install -g socket.io
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment