CLI
Start your new project with a single command.
To help you get started with TurboStarter as quickly as possible, we've developed a CLI that enables you to create a new project (with all the configuration) in seconds.
The CLI is a set of commands that will help you create a new project, generate code, and manage your project efficiently.
Currently, the following action is available:
- Starting a new project - Generate starter code for your project with all necessary configurations in place (e.g., Stripe, Supabase, etc.)
The CLI is in beta, and we're actively working on adding more commands and actions. Soon, the following features will be available:
- Translations - Translate your project, verify translations, and manage them effectively
- Installing plugins - Easily install plugins for your project
- Dynamic code generation - Generate dynamic code based on your project structure
Installation
You can run commands using npx
:
If you don't want to install the CLI globally, you can simply replace the examples below with npx @turbostarter/cli@latest
instead of turbostarter
.
This also allows you to always run the latest version of the CLI without having to update it.
Usage
Running the CLI without any arguments will display the general information about the CLI:
You can also display help for it or check the actual version.
Starting a new project
Use the new
command to initialize configuration and dependencies for a new project.
You will be asked a few questions to configure your project:
It will create a new project, configure providers, install dependencies and start required services in development mode.
Last updated on