every javascript developer need to use nodejs and npm. if you are using debian distribution, this post can make you happy for installation node js.
i see these example on google but everytime it doesnt work for me. with this way you can install every nodejs version even it doesnt exist on ubutu package manager.
Step 1:
sudo apt update
Step 2:
sudo apt install xz-utils
Step 3:
Download your nodejs
Step 4: (Extract file from .tar.xz)
sudo tar -xvf name_of_file
Step 5: (copy extracted folder files to computer root folder)
sudo cp -r directory_name/{bin,include,lib,share} /usr/
#NOTE: Dont replace anything instead of {bin,include,...}
#NOTE: dicrectory_name is your nodejs extracted folder
Top comments (0)