Developers
The CEO.ai CLI gives you complete access to strategy, builds, deployments, agents, and workflows — from the command line, shell scripts, or CI/CD pipelines. Everything the dashboard can do, ceo can do.
npm install -g @ceo-ai/cli
The CLI isn't a thin wrapper. It's a first-class interface to the full CEO.ai system — strategy, builds, deployments, workflows, agents, and business management.
Generate, inspect, and refine your strategic foundation from the terminal.
$ ceo strategy build
$ ceo strategy show --artifact icp
$ ceo strategy export --format md
$ ceo strategy refine --focus positioning
Generate websites, full-stack apps, and deploy them — all from one interface.
$ ceo website build --business my-project
$ ceo website deploy --domain example.com
$ ceo app build --output ./src
$ ceo app deploy --env production
Run agents, create new ones, pipe outputs between them, manage your roster.
$ ceo agent run marketing-writer
$ ceo agent list --business my-project
$ ceo agent create --from-template seo
$ ceo agent run analyst | ceo agent run writer
Trigger multi-step workflows, schedule recurring runs, monitor execution.
$ ceo workflow run weekly-content
$ ceo workflow list --status active
$ ceo workflow create --from-prompt "..."
$ ceo workflow logs --last 10
Manage businesses, check KPIs, review the One Big Thing, track progress.
$ ceo business list
$ ceo business status --business my-project
$ ceo business kpis --period 30d
$ ceo business focus --show one-big-thing
Talk to CEO.ai directly. Ask anything. Get structured responses you can pipe.
$ ceo prompt "What should I focus on this week?"
$ ceo prompt --business my-project "Analyze churn"
$ ceo prompt --json "List my top 3 priorities"
$ cat brief.md | ceo prompt --stdin
Trigger CEO.ai from your CI/CD pipeline. Build strategy updates on schedule, deploy websites on merge, run marketing workflows on cron — all automated.
Pipe agent outputs into other agents. Chain commands into scripts. Combine CEO.ai with any Unix tool. Output as JSON, Markdown, or plain text.
Analyze your competitive landscape, then generate positioning based on the gaps:
Export your ICP to a file, then generate targeted ad copy from it:
Build a full business from idea to deployed app in a single script:
The same business that was built in the TrabajoEmiratos case study — as a 7-line shell script.
Every command supports --help, --json output, and --verbose logging. Here's the full command tree.
login
logout
token <api-key>
whoami
create --from-idea <text> | --from-domain <domain>
list
status --business <name>
kpis --period <range>
focus --show one-big-thing | three-big-rocks
delete --business <name> --confirm
build --business <name>
show --artifact <name>
list-artifacts
refine --focus <area>
export --format md | json | pdf
build --business <name>
preview --port <number>
deploy --domain <domain>
status
build --business <name> --output <dir>
deploy --env <environment>
status
logs --follow
run <agent-name> [--stdin] [--json]
list --business <name>
create --from-template <template>
describe <agent-name>
run <workflow-name>
create --from-prompt <text>
list --status active | paused | completed
logs --workflow <name> --last <n>
schedule --cron <expression>
"<question>" [--business <name>]
--stdin
--json | --md | --plain
--agent <agent-name>
Describe what you'd build with the CLI and we'll help you get started — whether it's a deployment pipeline, a content workflow, or a full business-in-a-script.
The CLI is a full-access interface to the CEO.ai platform. Everything you can do in the dashboard — create businesses, build strategy, deploy websites, run agents, execute workflows — you can do from the terminal. Some users use the dashboard exclusively, some use the CLI exclusively, and many use both depending on the task.
Yes. The CLI supports non-interactive authentication via API keys (ceo auth token $KEY), making it ideal for CI/CD pipelines. Use it in GitHub Actions, GitLab CI, CircleCI, Jenkins, or any environment that can run Node.js. We provide example workflow files for common setups.
Yes. All agent commands support --json output and --stdin input, so you can compose agents using standard Unix pipes: ceo agent run analyst --json | ceo agent run writer --stdin. You can also pipe output to jq, files, or any other tool in your workflow.
You need to be comfortable with a terminal, but you don't need to be a software engineer. If you can run npm install and type commands, you can use the CLI. That said, if you're not a terminal user, the dashboard gives you the same capabilities with a visual interface — use whichever you prefer.
Yes. The CLI is built on top of the CEO.ai REST API. If you need programmatic access from your own applications — custom integrations, webhooks, embedded experiences — the API Reference has full documentation.
Anywhere Node.js runs — macOS, Linux, Windows (including WSL), Docker containers, and all major CI/CD environments. Install with npm install -g @ceo-ai/cli and you're ready.
Install the CLI, authenticate, and run your first command.