If you currently have a server running with Node 12, your most likely are going to want to update to Node 14 which is a newer version.

This guide will help you to easily upgrade from Node 12 to Node 14.

To do this, start by logging into SSH and login in as the root user.

Next, run the following commands:

curl --silent --location https://deb.nodesource.com/setup_14.x | bash -

apt update

apt install -y nodejs

After this has completed, run the following command to verify the version you currently have:

node -v

It should output anything in the lines of:

v14.18.1

This means you're currently running Node on version 14.

15 October 2021 (last updated 2 years ago)

11917 views

Written by Dennis Smink

Dennis brings over 6 years of hands-on experience in server management, specializing in optimizing web services for scalability and security.

Back to Server


Start free trial