How to install NodeJS on ubuntu 22.04

Опубликовано: 16 Октябрь 2024
на канале: how2articles
202
4

In this video I will show you how to install NodeJS on ubuntu 22.04.
Written instructions can be found here
https://how2articles.com/how-to-insta...

Nodejs is an open-source, cross-platform JavaScript runtime environment.
The following steps will show you how to install NodeJS on ubuntu.

Step 1
Open a web browser and go to the NodeJS binary distributions GitHub page.
https://github.com/nodesource/distrib...
Click on the Debian and ubuntu install instruction link

Step 2
Copy the following command and run it in your ubuntu terminal (you will need to have curl installed)
curl -fsSL https://deb.nodesource.com/setup_19.x | sudo -E bash - &&\
sudo apt-get install -y nodejs

Step 3
Once the install finishes, confirm the install is successful by running
node -v
npm -v

That's it. You should now be goody to go with NodeJS on ubuntu 22.04.

My setup (affiliate links)
Laptop: https://amzn.to/3FEN9xb
Monitor: https://amzn.to/3HMAXx3
Keyboard: https://amzn.to/3YGCkn4
Mouse: https://amzn.to/3Wtzzn0

#nodejs #node #install #ubuntu #ubuntu22