Installing nodejs:

Download the binary

Go to the Nodejs Downloadopen in new window and select the binary.

Extract the binary

Go to the download location and run tar -xf "*your_downloaded_file*"

Copy folders to /usr

cd your_downloaded_file_folder
sudo cp -r ./{lib,share,include,bin} /usr

Check the node version

node -v
# your nodejs version
Last Updated: