major CLI lets you build Major apps, agents, skills, and workflows from your own machine. This reference covers CLI version 1.0.18. Run major --version to check yours, and major update to upgrade.
For a walkthrough of the day-to-day loop, see CLI.
Install
~/.major/bin. Confirm the install:
The
major app commands need Node.js 22.12 or later and pnpm installed locally. The CLI checks for them before any major app subcommand runs.Log in
Global flags
These flags work on every command.
Many commands also accept
--json to print one machine-readable JSON result. Each command page lists where it is available.