Skip to content

Instantly share code, notes, and snippets.

@syahzul
Last active December 1, 2019 16:53
Show Gist options
  • Save syahzul/288d277a744ddbf6e3a08bb2b603ff12 to your computer and use it in GitHub Desktop.
Save syahzul/288d277a744ddbf6e3a08bb2b603ff12 to your computer and use it in GitHub Desktop.
Install Node.js v13 and NPM on Linux Mint 19.2 (Tina)

How to install Node.js 13.x and NPM 6.x on Linux Mint 19.2 (Tina)

Download the file

First, we need to download the file on our computer.

wget https://deb.nodesource.com/setup_13.x

Update entry

Edit with your favourite text editor and find in the file:

check_alt "Linux Mint"    "tara"     "Ubuntu" "bionic"

And add after:

check_alt "Linux Mint"    "tina"     "Ubuntu" "bionic"

Change file permission

Make the file executable

sudo chmod +x setup_13.x

Run it!

Now run the file.

sudo ./setup_13.x

Install Node.js

Finally you can install node.js and npm using apt.

sudo apt install nodejs

Done.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment