Skip to content

Instantly share code, notes, and snippets.

@genediazjr
Last active November 11, 2015 06:10
Show Gist options
  • Save genediazjr/ff0e7a6eca399b48658f to your computer and use it in GitHub Desktop.
Save genediazjr/ff0e7a6eca399b48658f 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