Getting node.js to work in Kali Linux:
-
install node version manager :
wget -qO- https://raw.githubusercontent.com/creationix/nvm/v0.31.4/install.sh | bash or wget -qO- https://raw.githubusercontent.com/creationix/nvm/v0.31.4/install.sh | zsh
depending which shell you are using: bash, zsh, fish etc. use diffrent pipe option