Question #434   Submitted by Answiki on 03/23/2021 at 09:34:15 AM UTC

How to install node.js LTS on Ubuntu?

Answer   Submitted by Imabot on 03/02/2022 at 08:23:36 AM UTC

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.






6 events in history
Answer by Imabot on 03/02/2022 at 08:23:36 AM

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.






Answer by Imabot on 03/02/2022 at 08:21:20 AM

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, 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.






Answer by Answiki on 03/23/2021 at 09:34:20 AM

The simplest way to install node.js on Ubuntu is to use apt-get:

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.

Source: NodeSource

Question by Answiki 03/23/2021 at 09:34:15 AM
How to install node.js LTS on Ubuntu?
Answer by Answiki on 03/23/2021 at 09:33:50 AM

The simplest way to install node.js on Ubuntu is to use apt-get:

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.

Source: NodeSource

Answer by Answiki on 03/23/2021 at 09:31:16 AM

The simplest way to install node.js on Ubuntu is to use apt-get.



Source: NodeSource

# ID Query URL Count

Icons proudly provided by Friconix.