How To Install latest node.js 13 on Ubuntu 19.04 / Debian / Linux

0
88

At the end of this tutorial, you will be able to Install Node.js 13 (the latest version) smoothly on Ubuntu / Debian / Linux Mint. So, follow the steps to proceed further.

Step 1: Update the system

First of all update your system by running the given command.

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

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

You can install node.js 13 after updating the system and then installing the required repository.

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

After creating directory, you can move forward to Install Node.js 13 on Ubuntu / Debian / Linux Mint.

sudo apt-get install -y nodejs

You can check your installed version by following this command.

node -V

For Installing Development tools, run the following command as a root or with sudo privileges.

sudo apt-get install gcc g++ make

For yarn package Installation follow the below step

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

LEAVE A REPLY

Please enter your comment!
Please enter your name here