Overview
create-gameface-app is a command-line tool that scaffolds a new Gameface project from a starter template. It downloads the template of your choice, optionally installs its dependencies, and leaves you with a project that is ready to run.
Quick start
Section titled “Quick start”Run the initializer with your package manager of choice and follow the prompts:
npm create gameface-apppnpm create gameface-appyarn create gameface-appnpx create-gameface-appWith no arguments the CLI is fully interactive and walks you through every step:
- Project name - the folder to create the project in.
- Template - the framework starter to use.
- Confirmation - confirm before the files are written.
- Install dependencies - optionally install dependencies right away.
When it finishes, it prints the commands needed to start the development server.
Non-interactive usage
Section titled “Non-interactive usage”Every prompt can be answered up front with an argument, so you can skip the wizard entirely. The project name is a positional argument - everything else is a flag.
npm create gameface-app my-app -- --template react --defaultpnpm create gameface-app my-app --template react --defaultyarn create gameface-app my-app --template react --defaultnpx create-gameface-app my-app --template react --defaultAny argument you omit falls back to its interactive prompt, so you can mix and match - for example, provide the template but let the CLI ask for the name:
npx create-gameface-app --template reactOptions
Section titled “Options”| Flag | Alias | Description |
|---|---|---|
--template <name> | -t | Template to scaffold. Skips the template prompt. |
--default | -d | Accept the confirmation and install prompts automatically. |
--help | -h | Print usage information and exit. |
Available templates
Section titled “Available templates”Pass any of the following to --template, or pick one from the interactive menu:
| Template | Framework |
|---|---|
gameface-ui | Gameface UI (recommended) |
solid | SolidJS |
react | React |
preact | Preact |
vue | Vue |
svelte | Svelte |
Next steps
Section titled “Next steps”After scaffolding, move into your project and start the dev server:
cd my-appnpm install # skip if dependencies were installed for younpm run dev© 2026 Coherent Labs. All rights reserved.