Reference

CLI commands

Every deployinn command, flag, exit code and setting.

Commands

CommandWhat it does
deployinn login / logout / whoamiSign in, forget the sign-in, show who you are and your plan
deployinn deploy [folder]Deploy a folder (default: the current one)
deployinn projectsList your projects
deployinn status <project>Addresses and the latest deploys
deployinn redeploy <project>Rebuild the code already saved
deployinn open [project]Open a project, or the dashboard
deployinn mcpPrint the address to add to Claude, ChatGPT and others
deployinn connect / disconnectSet up or remove coding agents (--list shows what was found)
deployinn rulesPrint the instructions agents get
deployinn env set / ls / rmVariables (rm needs approval)
deployinn domains add / check / rmCustom domains (rm needs approval)
deployinn stop / start / deleteRun what you deployed (delete needs approval)

Common flags

FlagMeaning
--name <id>Project id
--title "<name>"Name shown in the dashboard
--env KEY=valueVariable (repeatable)
--env-file <path>Variables from a file you name
--db <schema.sql> / --databaseCreate a database (with SQL / empty)
--service web|apiPick a part of a full-stack project
--replace (or --yes)Deploy over a project last deployed from another folder
--wait <seconds>How long to wait for an approval
--approval <id>Retry a request after approving it
--jsonMachine-readable output

Exit codes

CodeMeaning
0Success
1Something went wrong (the message says what, for example "You're not signed in")
3Waiting for your approval timed out. Run again with --approval <id> after approving
4You declined the approval
5A different folder tried to deploy over an existing project. Add --replace to do it on purpose

Exit code 1 covers every other error. Codes 3, 4 and 5 are the ones scripts and agents should react to.

Settings

VariableDefault
DEPLOYINN_TOKENThe token saved by deployinn login (use it in CI)
DEPLOYINN_API_URLhttps://api.deployinn.com
DEPLOYINN_MCP_URLhttps://mcp.deployinn.com
DEPLOYINN_APP_URLhttps://app.deployinn.com