Download a suitable package from the official page and follow the instructions.
Windows: Node.js command prompt
OSX/Linux: Terminal
In your console, enter the following command:
npm install -g bower gulp
This will install the global project dependencies Bower and Gulp.
npm install
bower install
This will install all local project dependencies as configured in package.json (npm) and bower.json (bower).
Runs test files matching test/test-*.js with mocha.
Runs the test task and creates a debug build in /debug.
Runs the build task, and serves the debug build at https://localhost:8443/.
Creates a production build in /ship.
Runs the ship-build task, and uploads the contents of /ship to an FTP server (default directory: /site/wwwroot).
For this to work, you need to create a file called ftp.json in the root directory:
{
"host": "...",
"user": "...",
"pass": "..."
}