-
-
Save shizonic/fe7b24a33f16ee44aae810d0bc71631e to your computer and use it in GitHub Desktop.
Install nodeJS on Kali Linux
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
sudo apt-get install python g++ make checkinstall fakeroot | |
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 | |
sudo fakeroot checkinstall -y --install=no --pkgversion $(echo $(pwd) | sed -n -re's/.+node-v(.+)$/\1/p') make -j$(($(nproc)+1)) install | |
sudo dpkg -i node_* |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Well done simple solving and node js setup method for debian derivative