Jordi
Jordi

Reputation: 331

How to upgrade Sails from 1.1.0 to 1.2.2

I have a SailsJS project on 1.1.0 on which I having some troubles. I'm interested on upgrading it to 1.2.2 to see if those troubles can be fixed with the new version. Is recomendable to upgrade and do you think it could worth?

How to do it? For sure it should be some easy npm commands but not sure which ones.

Thanks a lot ;)

Upvotes: 0

Views: 265

Answers (1)

Robertino Vasilescu
Robertino Vasilescu

Reputation: 1078

It doesn't work with the upgrade switch so you'll have to do

npm install -g sails

It'll upgrade to the latest 1.2.2

Upvotes: 2

Related Questions