How to install NodeJS 14.x LTS on Ubuntu in 1 minute
Newer version 16 available: How to install NodeJS 16.x LTS on Ubuntu in 1 minute
Run these shell commands on your Ubuntu computer to install NodeJS 14.x:
install_nodejs_14.sh
curl -sL https://deb.nodesource.com/setup_14.x | sudo -E bash -
sudo apt-get install -y nodejsInstead of setup_14.x you can also choose other versions like setup_12.x. However, using this method, you can’t install multiple versions of NodeJS in parallel.
Source: Official nodesource documentation
If this post helped you, please consider buying me a coffee or donating via PayPal to support research & publishing of new posts on TechOverflow