New to Node? No problem.

In order to install Sails, you’ll first need to install Node.js. Node is supported on most major operating systems, including MacOS X, Windows, and many flavors of Linux. The website has pre-built installers for plenty of platforms, so you can just hop on over to the downloads section of and choose the one that’ll work for you.

Find my node installer

Install Sails

To install Sails:

npm install sails -g

This usually takes about 48 seconds. It’s a good time to grab a cup of coffee or tea. Or if you’re on slow internet, maybe something a bit stronger.

If you run into any trouble running NPM, ask for help.

Create your app

To generate a new app, just cd into the directory where you want it to be, and type:

sails new test-project

You should see:

info: Created a new Sails app `test-project`!

To take a look at your new Sails app:

cd test-project
  sails lift

Now you can go to localhost:1337 to see your brand new homepage.

Build something cool

Your project is ready for whatever you want to create. But in case you’re not sure what to do next, here are a few resources that will help get you acquainted with developing on Sails:

Next up: About Sails Learn about your new app