How update Sails.js to newest version?

lukaszkups picture lukaszkups · Mar 23, 2014 · Viewed 8.7k times · Source

How can I update my Sails.js framework (installed on OSX) to newest version using terminal/command line?

Answer

sgress454 picture sgress454 · Mar 23, 2014

To update to the latest stable version:

npm update sails

or, if you've installed it globally, it would be:

sudo npm update -g sails

to install globally. This will overwrite any existing install.