Ubuntu: Install Nodejs

Add the repository

curl -sL https://deb.nodesource.com/setup_current.x | sudo bash -
curl -sL https://deb.nodesource.com/setup_lts.x | sudo bash -
curl -sL https://deb.nodesource.com/setup_18.x | sudo bash -
curl -sL https://deb.nodesource.com/setup_16.x | sudo bash -
curl -sL https://deb.nodesource.com/setup_14.x | sudo bash -

You can check the full list here https://github.com/nodesource/distributions/tree/master/deb

Install Nodejs

apt install nodejs

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *