forty login | Signs in through the browser; stores an organization API key |
forty whoami | The organization this machine acts for, its spaces, and whether it is 40rty’s own (staff: yes — its spaces are demos, built in the brands repo) |
forty init [--space <slug> | --create <slug>] [--source <@org/name>] [--self-hosted | --package] | Links the repository to a space; writes forty.config.json |
forty connect --list / forty connect <connector> [--<field> <value>]… | Lists the connectors this deployment carries and the fields each takes / connects one to the space (a field left out is read from .env by the names the connector declares), then runs a real search |
forty dev [--once] | Stages every save to your preview and prints the preview link (self-hosted: writes FORTY_DEV_TOKEN to .env) |
forty publish [--keep-locked] [--origin <url>] | Releases your blocks (and, managed, your package). A new space opens to visitors on its first release unless --keep-locked |
forty releases / forty rollback [n] | Lists releases / makes an earlier one live (default: the previous) |
forty deploy [--env KEY]… [--detect] | Hosts your Hydrogen or Next.js app on AMS at <space>.40rty.app. Only non-secret .env keys deploy; --env adds one |
forty hosting self | Hands the space back to your own hosting |
forty domain add <host> / forty domain | Serves the space on your domain and prints the DNS records / lists domains |
forty origin add <url> | Lets your deployed site call AMS |
forty doctor [url] [--ask "<question>" | --no-ask] | Checks the whole integration, then asks the agent one real question; non-zero exit on failure |
forty create <dir> | Starts a conversational UI package from the starter: every question opens its own page |
forty feedback "<message>" | Sends a problem report (secrets are stripped) |