CLI feature request: add `codex openclaw install`
Resolved 💬 1 comment Opened Mar 4, 2026 by Dodhon Closed Mar 4, 2026
What variant of Codex are you using?
CLI
What feature would you like to see?
Add a top-level CLI command to install OpenClaw directly from Codex:
codex openclaw install
Proposed behavior:
codex openclaw installuses npm by default (npm install -g openclaw@latest)--manager <npm|pnpm>allows explicit manager selection--dry-runprints the exact install command without executing it- On success, prints onboarding hint:
openclaw onboard --install-daemon - On failure, prints actionable guidance and docs link
Additional information
I have already implemented this in my fork and validated it locally.
Implementation branch:
Commit:
bd662ef9c(cli: add openclaw install command)
Compare view:
Files changed:
codex-rs/cli/src/main.rscodex-rs/cli/tests/openclaw.rsREADME.md
Validation run:
just fmtjust fix -p codex-clicargo test -p codex-clicargo run --bin codex -- openclaw install --dry-run
Dry-run output:
Dry run: would run \npm install -g openclaw@latest\.Next step: run \openclaw onboard --install-daemon\.
I understand external code contributions are invitation-only for this repo.
If this direction aligns, could a maintainer either:
- invite a PR from the branch above, or
- cherry-pick the commit.
This issue has 1 comment on GitHub. Read the full discussion on GitHub ↗