Create Sonnat App

Set up a modern web app which is powered by Sonnat.

npm latest package
npm downloads
Follow us on Twitter


yarn create sonnat-app <project-name> <project-template> [options]

# or
npx create-sonnat-app <project-name> <project-template> [options]

NOTE: To bootstrap using yarn we recommend running yarn create sonnat-app <project-name> <project-template> [options] instead of npx.

NOTE: If you’ve previously installed create-sonnat-app globally via npm install -g create-sonnat-app, we recommend you uninstall the package using npm uninstall -g create-sonnat-app or yarn global remove create-sonnat-app to ensure that npx always uses the latest version.

NOTE: npx comes with npm 5.2+ and higher, for older npm versions install the CLI globally.


create-sonnat-app <project-directory> <template> [options]
(valid templates: nextjs, cra)

  -V, --version       output the version number
  --ts, --typescript  initialize as a TypeScript project. (default: false)
  --use-npm           explicitly tell the CLI to bootstrap the app using npm.
                      (default: false)
  -h, --help          display help for command


# With NextJS
yarn create sonnat-app my-app nextjs

# With CRA (create-react-app) and TypeScript
yarn create sonnat-app my-app cra --typescript


The community can be found on Github Discussions | Discord, where you can ask questions, voice ideas, and share your projects.


View Github