Skip to main content
The atmn CLI lets you define your pricing plans in code via an autumn.config.ts file, and sync them to Autumn with a single command.

Installation

Run the CLI directly with your package manager:

Login

Authenticate with your Autumn account:
This opens your browser, lets you pick an organization, and saves API keys for both sandbox and production to your .env file:
.env
No account yet? bunx atmn login --keyless creates a sandbox for you right away. You can link it to an account later with bunx atmn login --claim <email>.
You can verify your setup at any time with bunx atmn env, which shows your current organization and environment.

Initialize a project

Run atmn init in your project root. It creates an autumn folder for your config:
This creates autumn/autumn.config.ts along with features.ts, plans.ts and rewards.ts beside it, pulls in any plans you’ve already created in Autumn, and installs the Autumn skills for your coding agent. In a monorepo it asks where the folder should go, with packages/autumn as the default. If you haven’t logged in yet, it prompts you to. Build your pricing using the config reference.

Push and pull

Once you have an autumn.config.ts, sync it with Autumn:
push reads your config file, compares it with what’s in Autumn, and shows a summary of what will be created, updated, or deleted. Run it again with --yes to apply the changes. pull fetches your plans and features from Autumn and writes them into your local config. If the file already exists, it does a smart in-place update that preserves your local formatting and comments where possible.
Use bunx atmn pull to generate an autumn.config.ts from plans you’ve already created in the dashboard.

Environments

By default, all commands target your sandbox environment. Add the -p flag to target production:
push -p only previews the changes. Add --yes to apply them to production.
Next: Configuration reference Learn how to define features, plans, and pricing in your autumn.config.ts.

Configuration reference

Every builder and field available in autumn.config.ts