Install NodeJS on Ubuntu 20.04

Step 1 - Update Your VPS

$ sudo apt-get update

Step 2 - Install Node

$ curl -sL https://deb.nodesource.com/setup_14.x | sudo -E bash | sudo apt-get install -y nodejs

Step 3 - Check the Version Number of Node

To ensure that Node.js version 14.x are installed, make sure you check the version number of Node.

$ nodejs -v

Last updated