Difference between revisions of "NodeJS"
Jump to navigation
Jump to search
Rafahsolis (talk | contribs) Tag: visualeditor |
Rafahsolis (talk | contribs) m Tag: visualeditor |
||
| Line 1: | Line 1: | ||
| + | === Install Kali === | ||
| + | <syntaxhighlight lang="bash"> | ||
| + | sudo apt-key adv --keyserver hkp://keys.gnupg.net --recv-keys 1655A0AB68576280 | ||
| + | sudo nano /etc/apt/sources.list.d/nodesource.list | ||
| + | </syntaxhighlight><syntaxhighlight lang="text"> | ||
| + | deb https://deb.nodesource.com/node_12.x stretch main | ||
| + | deb-src https://deb.nodesource.com/node_12.x stretch main | ||
| + | </syntaxhighlight><syntaxhighlight lang="bash"> | ||
| + | sudo apt update | ||
| + | sudo apt install nodejs npm | ||
| + | </syntaxhighlight> | ||
| + | |||
==npm Behind Proxy== | ==npm Behind Proxy== | ||
<syntaxhighlight lang="bash"> | <syntaxhighlight lang="bash"> | ||
Revision as of 08:08, 23 May 2019
Install Kali
sudo apt-key adv --keyserver hkp://keys.gnupg.net --recv-keys 1655A0AB68576280
sudo nano /etc/apt/sources.list.d/nodesource.list
deb https://deb.nodesource.com/node_12.x stretch main
deb-src https://deb.nodesource.com/node_12.x stretch main
sudo apt update
sudo apt install nodejs npm
npm Behind Proxy
npm config set http-proxy http://user:pass@proxy.example.com:3128
npm config set https-proxy http://user:pass@proxy.example.com:3128