I try the following :
Installing npm and nodejs through apt.
Installing the latest npm version, like :
npm npm@install -g
Ending up with nodejs version 0.10 or something, and npm version 3.10.8
I try to install n throught npm, like (seems to be the answer on most forums) :
sudo npm cache clean -f
sudo npm install -g n
Then, I try to install the crap :
sudo n stable
Get an error :
cp: cannot stat '/usr/local/n/versions/node//bin': No such file or directory
etc etc
Any ideas ? All I want is to get the latest version of nodejs.
I have tried to download the node tar, but how can I get nodejs to become the same version as node ?