👋 Hello! I'm Alphonsio the robot. Ask me a question, I'll try to answer.

How to install node.js LTS on Ubuntu?

On Ubuntu, to install the default version of Node.js on Ubuntu, the simplest way is to use the paquage manager:

sudo apt-get install nodejs


You may want to install the last version of node.js. To do so, use the following:

curl -fsSL https://deb.nodesource.com/setup_lts.x | sudo -E bash -
sudo apt-get install -y nodejs

Check the version installed with node -v.






More