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?
# Using Ubuntu
curl -sL https://deb.nodesource.com/setup_14.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.
Collected from the Internet
Please contact [email protected] to delete if infringement.
Comments