How to install NodeJS on Ubuntu or Debian

Rowan

Last Update bir yıl önce

In this tutorial we shall be covering how to install NodeJS version 12 on Ubuntu using your VPS from Zentora Hosting, this tutorial may work on other hosting provider with little to no adaptations.

1. Update your system

2. Add the NodeJS repository

By default, Ubuntu does not use the Node.js APT Repository, therefore we must add it manually to the system

NodeJS 12

NodeJS 10

NodeJS 8

3. Install NodeJS

NodeJS should now be installed, to verify it is installed and you have installed the correct version, you can run: