How to install nodeJS v15.x on Ubuntu
![How to install nodeJS v15.x on Ubuntu](/content/images/size/w960/2020/10/035575f2985fe451d86e717d73691e533a1a00545d7230900ed786341dc3c882.png)
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 :)