Skip to main content
The 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

The install script places the binary in ~/.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

This opens a browser page to authorize the CLI, stores your session token in your system keychain, and asks you to pick a default organization. If you only belong to one organization, it is selected automatically. See major user and major org.

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.

Commands