142
rated 0 times
[
144]
[
2]
/ answers: 1 / hits: 9212
/ 10 Years ago, sun, march 23, 2014, 12:00:00
How can I update my Sails.js framework (installed on OSX) to newest version using terminal/command line?
More From » node.js
How can I update my Sails.js framework (installed on OSX) to newest version using terminal/command line?
npm update [-g] [<name> [<name> ...]]
This command will update all the packages listed to the latest version (specified by the tag config). It will also install missing packages.
If the -g
flag is specified, this command will update globally installed packages.
So for you, I guess that would be: npm update sails
or sudo npm -g update sails
depending on how and where you installed it.