Skip to content

Instantly share code, notes, and snippets.

@identityclash
Forked from genediazjr/debian-nodejs.sh
Created November 11, 2015 06:10
Show Gist options
  • Select an option

  • Save identityclash/076d4dddeefecabb9ad0 to your computer and use it in GitHub Desktop.

Select an option

Save identityclash/076d4dddeefecabb9ad0 to your computer and use it in GitHub Desktop.
Nodejs on Debian
apt-get install vim python g++ make checkinstall
src=$(mktemp -d) && cd $src
wget -N http://nodejs.org/dist/node-latest.tar.gz
tar xzvf node-latest.tar.gz && cd node-v*
./configure
checkinstall -y --install=no --pkgversion 0.10.35 make -j$(($(nproc)+1)) install # Replace with current version number.
dpkg -i node_*
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment