CLI
Create Projects
Learn how to create new projects using the Zap.ts CLI.
Create Projects
The create-zap-app CLI is a tool for quickly setting up a Zap.ts project.
You can run zap --help to check the latest CLI available commands. But in the meantime, here is a concise overview of what the CLI does when installing your project.
Creating a New Project
Running create-zap-app or zap without arguments sets up a new Zap.ts project.
The following steps are done to install the project:
- Asks for a name (default: 
my-zap-app) and ensuring everything is okay. - Lets you choose your favorite package manager (e.g. 
npm,yarn,pnpm, orbun). - Fetches the Zap.ts template from GitHub and extracts it.
 - Installs dependencies using the selected package manager.
 - Creates an 
.env.localfile with placeholders. 
Last updated on