Launch OpenAI Codex CLI in 3 seconds with full bypass mode
This project is a fork/adaptation of the excellent claude-code-now by @orange2ai.
The original claude-code-now is hands-down the best CLI launcher I've used — simple, fast, and elegant. 5,000+ users can't be wrong. If you use Claude Code, go star their repo right now: github.com/orange2ai/claude-code-now
I needed the same experience for OpenAI Codex CLI, so I vibed this adaptation. All credit for the core concept, architecture, and terminal detection logic goes to orange2ai.
One click to launch codex --dangerously-bypass-approvals-and-sandbox in any folder.
Without Codex Now:
Open Terminal -> cd /path/to/project -> codex --dangerously-bypass-approvals-and-sandbox -> Wait...
With Codex Now:
Click icon -> Start coding
| Traditional | Codex Now | |
|---|---|---|
| Time | ~30s | ~3s |
| Steps | 4-5 | 1 |
- One-click launch from Dock or Finder toolbar
- Smart folder context — launches Codex in the current Finder directory
- Full bypass mode —
--dangerously-bypass-approvals-and-sandboxenabled by default - Multi-terminal support — Terminal, iTerm2, Warp, Alacritty
- Zero configuration — works immediately after install
- Auto-detects Codex — Homebrew, npm, nvm, yarn, pnpm installations
- Download the latest release
- Unzip and drag
Codex Now.appto/Applications - Done
git clone https://github.com/patchescamerababy/codex-now.git
cd codex-now
chmod +x install.sh
./install.shInstall OpenAI Codex CLI first:
# Recommended
brew install --cask codex
# Or via npm
npm install -g @openai/codexDrag Codex Now.app from Applications to your Dock. Click to launch — opens Codex in your last-used directory.
Hold Command and drag the app to the Finder toolbar. Click it in any folder to launch Codex right there.
The app is a lightweight macOS .app bundle wrapping a shell script that:
- Detects your preferred terminal (iTerm2 > Warp > Terminal)
- Gets the current Finder directory (or last-used directory)
- Finds the Codex binary (checks PATH, Homebrew, npm, nvm, etc.)
- Launches
codex --dangerously-bypass-approvals-and-sandboxin that directory
| claude-code-now | codex-now | |
|---|---|---|
| CLI Tool | Claude Code (claude) |
OpenAI Codex (codex) |
| Launch Mode | --permission-mode bypassPermissions |
--dangerously-bypass-approvals-and-sandbox |
| Install Methods | Homebrew, npm | Same |
Everything else — terminal detection, folder awareness, Dock/toolbar integration — works identically. Thank you orange2ai for the brilliant foundation.
MIT License. See LICENSE for details.
Based on claude-code-now by @orange2ai.