How to Install Node.js and NPM


Article Outline
  1. 1. Install Node.js Current Version: [1]
    1. 1.1. Using Ubuntu
    2. 1.2. Using Debian, as root
Keywords: ,

Node.js is a Javascript runtime environment, and NPM is a package manager.

Install Node.js Current Version: [1]

Using Ubuntu

1
2
curl -fsSL https://deb.nodesource.com/setup_current.x | sudo -E bash -
sudo apt-get install -y nodejs

Using Debian, as root

1
2
curl -fsSL https://deb.nodesource.com/setup_current.x | bash -
apt-get install -y nodejs

  1. GitHub: nodesource distributions ↩︎