Skip to content

Instantly share code, notes, and snippets.

@XC3pti0n
Forked from GracjanZwr/node.md
Created April 17, 2018 17:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save XC3pti0n/c02488c1bb504dff142d22e008053048 to your computer and use it in GitHub Desktop.
Save XC3pti0n/c02488c1bb504dff142d22e008053048 to your computer and use it in GitHub Desktop.
installing nodejs in Kali Linux

Getting node.js to work in Kali Linux:

  1. 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

  2. close and reopen your terminal window and check if nvm get installed properly with this comand

    command -v nvm

  3. install node.js using nvm ( here we using version node.js version 6 but you can use any version you wish ):

    nvm install 6

Thats it enjoy your coding ! ;)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment