Skip to content

Instantly share code, notes, and snippets.

@hpherzog
Last active December 28, 2015 12:59
Show Gist options
  • Save hpherzog/7504099 to your computer and use it in GitHub Desktop.
Save hpherzog/7504099 to your computer and use it in GitHub Desktop.
Install node.js on debian wheezy.
#!/bin/sh
apt-get -y install \
python \
g++ \
make \
checkinstall
cd /tmp
mkdir node-install
cd node-install
wget -N http://nodejs.org/dist/node-latest.tar.gz
tar xzvf node-latest.tar.gz && cd node-v*
./configure
# Remove the "v" in front of the version number.
checkinstall
dpkg -i node_*
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment