Thursday, May 23, 2024
274
rated 0 times [  274] [ 0]  / answers: 1 / hits: 304640  / 2 Years ago, thu, october 6, 2022, 7:56:42

How do I install the latest node.js on Ubuntu? I've been looking around, and I can't find anything. Is there a Ubuntu package for node.js, or do I have to compile it myself?


More From » software-installation

 Answers
4

Per the Node.js website:


# Using Debian/Ubuntu
curl -sL https://deb.nodesource.com/setup_18.x | sudo -E bash -
sudo apt-get install -y nodejs

Then, you will have the latest version of Node.js.


If you're not a fan of curl <url> | bash -, or are using an unsupported distribution, you can try a manual installation.


[#44570] Thursday, October 6, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
urnaetted

Total Points: 10
Total Questions: 113
Total Answers: 117

Location: Burundi
Member since Sat, Aug 21, 2021
3 Years ago
urnaetted questions
;