$ npm install -g sonata
Once installed the CLI tool will be available.
This provides the following :
$ sonata --help
$ sonata startproject [NAME]
Creates a project folder within the current directory
$ sonata startapp [NAME]
Generates a JS app stub when called from within a project folder.
$ sonata startmodule [NAME]
Generates a JS module stub when called from within a project folder.