Monday, May 20, 2024
 Popular · Latest · Hot · Upcoming
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

 Answers
5
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.


[#46608] Saturday, March 22, 2014, 10 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
pierre

Total Points: 716
Total Questions: 128
Total Answers: 102

Location: Djibouti
Member since Sun, Feb 27, 2022
2 Years ago
;