How to Install Node.js on Linux Mint

Neuronvm Team
5m
0 comments
Print
2026/05/24

Most likely, you are already familiar with the node.js platform. This platform is provided as an open-source and asynchronous backend JavaScript runtime and is in JavaScript language. One of its features is non-blocking I/O, which has turned node.js into a convenient, powerful, and high-speed environment. This article proposes to teach you the best solution to install Node.js on Linux Mint.

Best Features of Node.js

In the introduction, you got acquainted with one of the prominent features of node.js. Now, we want to introduce you to other features of this platform:

Node.js library is in high-speed in code execution

– It is asynchronous and event-driven

– No buffering

– It is highly scalable but single Threaded

– It is released under the MIT license

Installing Node.js on Linux Mint

Before starting the Install Node.js on Linux Mint training, we recommend you choose and buy the Linux VPS Server plans provided on our website and enjoy its high quality. In this part, you will learn how to install Node.js step-by-step.

You should start the installation process by updating the system repository. Use the command below:

sudo apt update

Now you should install all the dependencies as it is necessary before the installation. Run the following command for this reason:

sudo apt install software-properties-common apt-transport-https ca-certificates gnupg2 curl build-essential

Next, After installing dependencies, you should get the non-source repository in your system by the command below:

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

Now that you successfully set the node.js source repository, you are ready to install the program on Linux Mint:

sudo apt install nodejs

If you want to check the status and verify the installed version, apply the command below:

node --version

Well done! Now, you can enjoy using this platform.

Testing Node.js on Linux Mint

Use a nano editor or any editor you desire to create a simple JavaScript file and type a simple program:

nano test_file.js

The output should be like this:

testing Node.js on Linux mint

You should save this program in your editor, and if you want to see the output, open any browser. To do this, execute the following command.

Note that the local port to run a web server is 3000.

node test_file.js

The image below shows the way to verify the installation of Node.js. Type the port in the browser:

verifying nodejs installation on browser

Uninstall Node.js on Linux Mint

If you don’t need Node.js anymore and you want to remove it from your system, use the mentioned command below in the terminal:

sudo apt remove nodejs

Conclusion

Here, you learned how to install Node.js on Linux Mint with an easy method. We also tried to show the way to test the program with an editor and the way to remove Node.js if you don’t need it. Install and enjoy using this Java program. If you need any help, please let us know by leaving a comment.

Share this Post
How useful was this post for you?
0 Points from 0 votes
Neuronvm Team

Leave a reply

Calculate the value of (4 - 2) :

Save my name and email in this browser for the next time.

Last Comments

Show More
© Copyright 2025 NeuronVM.
Use of this Site is subject to express terms of use