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.
- Advertisement -
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
- Advertisement -
Subscribe
Everything Linux, A.I, IT News, DataOps, Open Source and more delivered right to you.
"The best Linux newsletter on the web"