DEV Community

G Sudarshan
G Sudarshan

Posted on

How To Install Node.js and NPM on Ubuntu 20.04

Run following commands on terminal

sudo apt update
Enter fullscreen mode Exit fullscreen mode
sudo apt install nodejs
Enter fullscreen mode Exit fullscreen mode

To check which version of node is installed on machine type following command

node -v
Enter fullscreen mode Exit fullscreen mode

To install NPM (Node Package Manager) run following command on terminal

sudo apt install npm
Enter fullscreen mode Exit fullscreen mode

GitHub | LinkedIn | Twitter

Top comments (0)