DEV Community

G Sudarshan
G Sudarshan

Posted on

3 2

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)

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more