Global flags
These flags work with any command:
Flags can be combined — for example,
atmn push -lp targets production on a local API server.
Authentication
atmn login
Authenticate with Autumn via OAuth. Opens your browser, lets you select an organization, and saves sandbox + production API keys to .env.
atmn logout
Remove AUTUMN_SECRET_KEY and AUTUMN_PROD_SECRET_KEY from your .env file.
atmn env
Show your current organization and environment:
Configuration
atmn init
Create an autumn.config.ts from a starter template. Prompts for login if you haven’t authenticated yet.
atmn push
Push your local autumn.config.ts to Autumn.
The CLI compares your local config with what’s in Autumn and shows a summary of changes before applying. If plans with existing customers are modified, it will prompt about versioning.
atmn pull
Pull plans and features from Autumn into your local autumn.config.ts.
By default,
pull does a smart in-place update — it adds new features and plans, updates existing ones, and removes deleted ones while preserving your formatting. Use --force to overwrite the entire file.
pull also generates an @useautumn-sdk.d.ts file with typed FeatureIds and PlanIds for IDE autocompletion.
atmn preview
Render a pricing table from your local config without making any API calls.
atmn nuke
Permanently delete all data in your sandbox. This command refuses to run with --prod.
Data browsing
These commands open a full interactive TUI for browsing and inspecting your Autumn data. Use the--headless flag to get structured data instead.
atmn customers
atmn plans
atmn products is an alias for atmn plans.atmn features
atmn events
Configuration
atmn config
View and manage persistent CLI settings.
atmn config with no arguments shows the full path to your config file, supported keys, and usage info.
Available keys
Priority order
Settings are resolved in this order: CLI flag → global config → default value. For example,--no-declaration-file on atmn pull always takes priority over the global noDeclarationFile setting.
Config file location
Runningatmn config or atmn config --global (with no key) prints the exact path to your config file on disk.
Utilities
atmn dashboard
Open the Autumn dashboard in your browser.
atmn version
Print the CLI version. Alias: atmn v.
Headless mode
The CLI automatically detects non-TTY environments and switches to headless mode with plain text output and no interactive prompts. You can also force it with--headless.