how to check the node version installed on Kali Linux code example
Example 1: install javascript kali linux
sudo apt-get install python g++ make checkinstall fakeroot
Example 2: install javascript kali linux
wget -N http://nodejs.org/dist/node-latest.tar.gz