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)

A Workflow Copilot. Tailored to You.

Pieces.app image

Our desktop app, with its intelligent copilot, streamlines coding by generating snippets, extracting code from screenshots, and accelerating problem-solving.

Read the docs

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay