Reputation: 21
I was having a problem with a node module that I installed and I think it is because my node version was out of date. I just went through the process of updating and it's pretty mind-numbingly tedious. I know that the node package manager lets you install updates for other modules, but is it possible to update itself using NPM?
Upvotes: 1
Views: 89
Reputation: 1355
In general, this:
sudo npm cache clean -f
sudo npm install -g n
sudo n stable
take the answer from this article: http://davidwalsh.name/upgrade-nodejs
Upvotes: 0