Edit Page

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

Example

#
$ sails --version
1.0.0

Notes

#
  • 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, run npm ls sails.

Is something missing?

If you notice something we've missed or could be improved on, please follow this link and submit a pull request to the sails repo. Once we merge it, the changes will be reflected on the website the next time it is deployed.

Reference

Reference