Skip to content
TrySitePrice

How to install Node.js on Ubuntu Linux 16.04 LTS server

Best/Tutorial

To install Node.js on an Ubuntu 16.04 LTS server, follow these steps:

  1. Update the package list:

$ sudo apt-get update

  1. Install the required build tools:

$ sudo apt-get install build-essential

  1. Download and run the Node.js installation script:

$ curl -sL https://deb.nodesource.com/setup_14.x | sudo -E bash -

  1. Install Node.js:

$ sudo apt-get install nodejs

  1. Verify the installation by checking the version:

$ node -v

You should now have Node.js installed on your Ubuntu 16.04 LTS server.