Skip to content

Instantly share code, notes, and snippets.

@joerx
Created May 30, 2015 02:20
Show Gist options
  • Save joerx/65694c87b21f2d592641 to your computer and use it in GitHub Desktop.
Save joerx/65694c87b21f2d592641 to your computer and use it in GitHub Desktop.
Installing node.js/io.js on Debian/Ubuntu (executive summary)

Originally in this blog post, but it's a bit hidden at the bottom, so here's the wrap up:

Node.js v0.12

Available for:

  • Debian 7 / stable (wheezy)
  • Debian testing (jessie)
  • Debian unstable (sid)
  • Ubuntu 12.04 LTS (Precise Pangolin)
  • Ubuntu 14.04 LTS (Trusty Tahr)
  • Ubuntu 14.10 (Utopic Unicorn)
# Note the new setup script name for Node.js v0.12
curl -sL https://deb.nodesource.com/setup_0.12 | sudo bash -

# Then install with:
sudo apt-get install -y nodejs 

Io.js

  • Debian testing (jessie)
  • Debian unstable (sid)
  • Ubuntu 14.04 LTS (Trusty Tahr)
  • Ubuntu 14.10 (Utopic Unicorn)
# Note the new setup script name for io.js
curl -sL https://deb.nodesource.com/setup_iojs_1.x | sudo bash -

# Then install with:
sudo apt-get install -y iojs

Node.js

# Note the new setup script name for Node.js v0.10
curl -sL https://deb.nodesource.com/setup_0.10 | sudo bash -

# Then install with:
sudo apt-get install -y nodejs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment