How to install Node.js on Ubuntu / Debian / Linux Mint 13

Welcome to our guide on how to install Node.js 13 Current on an Ubuntu / Debian / Linux Mint server or desktop system. Node.js 13 was released on 2019-10-22 and is expected to expire on 2020-06-01. This guide will introduce the Node.js 13 installation of the binary package on Ubuntu / Debian / Linux Mint.

Step 1: Update the system

Make sure you have the latest updates for Debian / Ubuntu / Linux Mint.

sudo apt -y update && sudo apt -y upgrade

Step 2: Install Node.js on Ubuntu / Debian / Linux Mint 13

After the system update, first install the required repositories and install Node.js 13 on Ubuntu / Debian / Linux Mint.

curl -sL https://deb.nodesource.com/setup_13.x | sudo bash -

After adding the repository, you can start installing Node.js 13 on Ubuntu / Debian / Linux Mint.

sudo apt-get install -y nodejs

Use the following command to check the installed version of Node.

$ node -v
v13.1.0

If you need development tools, install them using the following command:

 sudo apt-get install gcc g++ make

You can install the Yarn package manager by running the following command:

curl -sL https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -
echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
sudo apt-get update && sudo apt-get install yarn

You have it. Node.js 13 Current is already installed on Debian / Ubuntu / Linux Mint machines.

similar:

How to install Node.js on CentOS / Fedora 13

Install Node.js 12 LTS on CentOS / Fedora

Install Node.js 12 LTS on Ubuntu / Debian

Sidebar