On the official Node.js site they have a tar.xz
file. I've extracted the file to my Downloads folder, but I am not sure what to do next. In one YouTube video I saw something like this:
sudo cp -r node/{bin,include,lib,share}/ /usr/
However, I think it's a bit outdated, in my opinion the node folder should go somewhere else than the /usr/
folder, perhaps to /usr/shared
?!
Thanks in advance!