# Install node and npm using Linux binaries

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**).

## Let's start:
### 1. Get the binary file
So head to [nodejs](https://www.nodejs.org/download) website and download binary files of latest stable nodejs.

![nodejs website.png](https://cdn.hashnode.com/res/hashnode/image/upload/v1630065763599/YIBuMxw6-.png)

### 2. Extract the tar file
Go to the directory where you've downloaded your nodejs. **In my case its Downloads directory.**

![node 14.17.3 on downloads.png](https://cdn.hashnode.com/res/hashnode/image/upload/v1630065009725/tzFytnQ5_.png)

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

![extracted 14.17.3.png](https://cdn.hashnode.com/res/hashnode/image/upload/v1630065258519/EsNTYRb2D.png)

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

![extract here v14.17.3.png](https://cdn.hashnode.com/res/hashnode/image/upload/v1630065311694/vBvcOzig_.png)

### 3. Copy folders to /usr
Now we get these all folders inside our extracted node folder.

![files and floders inside node v14.17.3.png](https://cdn.hashnode.com/res/hashnode/image/upload/v1630065332222/ilyQJcseb.png)

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.

![copied 14.17.3.png](https://cdn.hashnode.com/res/hashnode/image/upload/v1630065468081/nc8BC_46Q.png)

### 4. Check the node and npm version
You can check nodejs version with the command `node --version` or `node -v` and check npm version with`npm --version`.

![successfully installed v14.17.3.png](https://cdn.hashnode.com/res/hashnode/image/upload/v1630065381265/mA4xfEb-6.png)

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

