How to install nodeJS v15.x on Ubuntu
1 min read

How to install nodeJS v15.x on Ubuntu

How to install nodeJS v15.x on Ubuntu

Something that I needed today. Trying to get the Open Source ProtonMail Web-Client to work on one of my server's.

Let's get to work with NodeJS and npm:

First update your update and upgrade you system software:

sudo apt update && sudo apt upgrade -y

When done with this, check if you have curl installed (if not run this code):

sudo apt install curl -y

Nice! This one is quick and easy. Add the nodeJS repository:

sudo curl -sL https://deb.nodesource.com/setup_15.x | sudo bash -

Now install v12 of node:

sudo apt update
sudo apt install nodejs -y

Check versions:

node -v

Enjoy :)