The first step is to open your terminal and type:
sudo npm -g install sails
For anyone who is interested in Sails.js, but might not have been following along closely — check out the latest product from the Sails.js team, www.treeline.io