Setup

Paste your API key to personalize the commands below.
Windows logo
Windows setup
PowerShell
# 1) Install Node.js LTS (if needed)
winget install OpenJS.NodeJS.LTS

# 2) Install CLI tools
npm i -g @openai/codex theclawbay

# 3) Run one-time setup
theclawbay setup --api-key <apiKey>

# 4) Start Codex
codex
Apple logo
macOS setup
Terminal
# 1) Install Node.js (if needed)
brew install node

# 2) Install CLI tools
npm i -g @openai/codex theclawbay

# 3) Run one-time setup
theclawbay setup --api-key <apiKey>

# 4) Start Codex
codex
Linux logo
Linux setup
Terminal
# 1) Install CLI tools
npm i -g @openai/codex theclawbay

# 2) Run one-time setup
theclawbay setup --api-key <apiKey>

# 3) Start Codex
codex
Check everything
Fast local verification
# Start Codex CLI
codex

# Or start an installed add-on you selected during setup
openclaw