sails --version
Get the version of your computer's globally installed Sails command-line tool (i.e. the version you installed with npm install -g sails
).
sails --version
$ sails --version
1.0.0
- Different Sails apps can have different local Sails installs at different versions, since each project encapsulates its dependencies in its
node_modules/
folder. To get the locally installed version of Sails from within a particular project, runnpm ls sails
.