Prerequisites
- macOS or Linux with Git installed
- Node.js 22.12+ and pnpm
Step 1 — Install the CLI
major --version.
Step 2 — Authenticate
Run
major user whoami anytime to check your current session and organization.Step 3 — Create an app
Create from a blank template
Create from a blank template
- Choose a template (Vite is the default).
- Major provisions a GitHub repo, wires up the template, and invites you as a collaborator.
- Select the connectors (databases, APIs) the app should reach.
Clone an existing app
Clone an existing app
- Choose from your organization’s applications.
- We clone (or pull) the repo, invite you if needed, and regenerate
.env+ your resource clients so that you’re ready to run.
Step 4 — Run locally
- Mints a new JWT and writes environment variables to
.env - Runs
pnpm installto sync dependencies - Starts
pnpm devso your local server connects to your connectors through Major
Step 5 — Configure connectors
Configure the connectors you want your app to interact with.Step 6 — Deploy
- Prompt for a commit message if there are unstaged changes
- Stage, commit, and push to GitHub
- Build and deploy your app
- Print the production URL when complete
Next steps
Core Concepts
Learn about Apps, Connectors, and RBAC.
CLI Reference
Explore all available CLI commands.
Web Dashboard
Try building in the browser instead.
Connectors
Learn how to query databases and APIs from your code.