Install node and npm using Linux binaries
Let's look at how we can install latest version of nodejs in our linux system using Binary Packages.

I am a developer from Nepal who loves playing with tech.
Search for a command to run...
Let's look at how we can install latest version of nodejs in our linux system using Binary Packages.

I am a developer from Nepal who loves playing with tech.
No comments yet. Be the first to comment.
Have you ever translated something, only to find out later that the original text changed while you were working? Or worse — that a whole new page existed and nobody told you? For that, I built stub f
The p5.js Web Editor is an intuitive, browser-based platform for creative coding with JavaScript. It allows artists, designers, and educators to dive into coding visually, without needing to set up any development environment. But what if you're a de...

Before starting out, let me quickly share what we're building today. Open codesandbox.io or visit gsap-svg-path-animation.netlify.app. Seems interesting, let's start. Introduction You might have visited some websites where when you scroll, things mov...

Build a countdown social media og:image using nextjs and vercel/og

In the fast-paced world of web development, creating an engaging and seamless user experience is important. One effective way to achieve this is by implementing a loading animation on your website. In this tutorial, we'll explore the step-by-step pro...

Yes, you can install node through apt package manager with the command sudo apt install nodejs and you get the latest nodejs installed. But many people find it very complicated to install Binaries. So, I will be breaking down the process into four simple steps. (Note: I'm using pop os and will be installing node v14.17.3).
So head to nodejs website and download binary files of latest stable nodejs.

Go to the directory where you've downloaded your nodejs. In my case its Downloads directory.

Then, extract the files with this command tar -xf "*your_downloaded_file*"

Or, go to Downloads folder using file manager, right click on tar file and extract (so simple).

Now we get these all folders inside our extracted node folder.

Here we need to cd inside that folder. Type the command sudo cp -r ./{lib,share,include,bin} /usr hit enter and type your password. Remember to use -r flag to make sure that all files inside those folders are also copied.

You can check nodejs version with the command node --version or node -v and check npm version withnpm --version.

That's it, you have now installed nodejs and npm in your system. Enjoy 😎