CLI_manager

agent
Security Audit
Fail
Health Pass
  • License — License: MIT
  • Description — Repository has a description
  • Active repo — Last push 0 days ago
  • Community trust — 17 GitHub stars
Code Fail
  • process.env — Environment variable access in electron.vite.config.ts
  • child_process — Shell command execution capability in scripts/build-dictation.cjs
  • spawnSync — Synchronous process spawning in scripts/build-dictation.cjs
  • fs.rmSync — Destructive file system operation in scripts/build-dictation.cjs
  • fs module — File system access in scripts/build-dictation.cjs
Permissions Pass
  • Permissions — No dangerous permissions requested

No AI report is available for this listing yet.

SUMMARY

macOS app to run Claude Code, Codex & Gemini CLI side by side. Agents can open sessions you can watch and take over.

README.md
CLI Manager

CLI Manager

Your CLI Agents, All in One Place.

Claude Code, Codex CLI, Gemini CLI — manage them all from a single macOS desktop app.

MIT License
macOS
Open Source
GitHub release

Download for macOS · Website · Report a Bug


Demo

CLI Manager Demo


Why CLI Manager?

Stop switching between terminals and losing context.

As AI-powered development grows, developers are juggling Claude Code, Codex CLI, Gemini CLI — and dozens of project contexts at once. CLI Manager keeps everything organized so you can focus on building.

Without CLI Manager With CLI Manager
Context switching Re-open terminals, lose history Instant tab switch, full state preserved
Agent management Separate windows per tool All agents in one sidebar
Project organization Scattered folders Workspaces with named sessions
Git branching Manual worktree setup One-click worktree workspace

Performance

  • Zero state loss — Terminal sessions live in the DOM (display: none), never destroyed on tab switch
  • Instant session switching — No re-initialization overhead; switch in milliseconds
  • Real-time port detection — Local dev servers detected within 5 seconds via lsof polling
  • 500ms debounced auto-save — Session memos save automatically without blocking your workflow
  • Minimal footprint — Built on Electron + xterm.js with no unnecessary background processes

Features

All CLI Agents, One Dashboard

Manage Claude Code, Codex CLI, and Gemini CLI from a single sidebar. Assign custom names and roles — "Frontend Dev", "Backend API", "Design Review" — so multi-agent workflows stay intuitive.

Agent renaming demo


Git Worktree as Independent Workspaces

Create Git worktrees directly from the UI. Each worktree becomes its own workspace with independent terminal sessions, branch tracking, and GitHub actions — no manual setup required.

Git Worktree demo


GitHub Integration

Push branches, create pull requests, and check GitHub Actions workflow status — all from within the app using your existing gh CLI authentication.

GitHub integration demo


Real-Time Port Monitoring

Automatically detects running local development servers. See which ports are active across all your projects at a glance, with filtering and one-click kill.

Port monitoring demo


Custom Terminal Templates

Save your most-used command sequences as named templates — with icons and descriptions. Launch complex multi-step setups with a single click.

Templates demo


Playground — Instant Isolated Environments

Spin up a temporary workspace in your Downloads folder with one click. Experiment freely without touching your real projects.

Playground demo


Session Persistence

Every terminal session remains alive while you navigate. Switch between a dozen sessions without losing a single line of output.

Per-Session Memo Pad

Each terminal session has its own notepad. Jot down context, commands, or notes — they auto-save and persist with the session.

Split View

View and interact with two terminals side by side. Ideal for running a dev server while watching logs.

Fully Configurable Shortcuts

Every action is bindable. Open the keyboard shortcut editor and make CLI Manager fit your workflow.

Remote Hosts

Run a session on another machine over ssh — it lives in tmux there, so a dropped connection only pauses it. Add hosts in Settings › Remote hosts (an ssh alias, user@host or user@host:port), press Check to see tmux, Claude Code and its login there, and pick the host under Where in New session.

Claude account on a host. Over ssh a Mac's keychain is locked, so Claude Code on the host needs a setup token. On each host:

  1. Run claude setup-token (on any machine you are logged in on) and copy the token it prints.
  2. On the host, save it as ~/.config/climanager-tokens/token-<name> and make it private: mkdir -p ~/.config/climanager-tokens && chmod 700 ~/.config/climanager-tokens, paste the token into the file, then chmod 600 ~/.config/climanager-tokens/token-<name>.
  3. In Settings › Remote hosts › Edit, set Claude account to One account (<name>) or Follow aswap on this Mac — then <name> is the agent-swap alias (aswap list), one file per account.

The token never leaves the host: the session reads the file there when it starts, and CLI Manager keeps only the name. With «Follow aswap», each new session uses the account agent-swap has active at that moment; sessions already open keep the account they started with. If the file is missing or agent-swap cannot answer, the session starts without an account and says so in its first line. Check lists the tokens on the host and whether each one logs in.


Download

Get the latest version from GitHub Releases and pick the file for your Mac:

Platform File
macOS Apple Silicon (arm64) cli-manager-<version>-arm64.dmg
macOS Intel (x64) cli-manager-<version>-x64.dmg

The app checks for updates on its own after that.


Build from Source

Prerequisites

Install & Run

git clone https://github.com/woorichicken/CLI_manager.git
cd CLI_manager
pnpm install
pnpm dev

Build

pnpm build        # Build for current platform
pnpm build:mac    # Build signed macOS DMG

Type Check

pnpm typecheck

Project Structure

src/
  main/         # Electron main process — IPC, terminal, port monitoring
  preload/      # Context bridge (main ↔ renderer)
  renderer/     # React frontend
    components/ # UI components (Sidebar, TerminalView, GitPanel, …)
    hooks/      # Custom React hooks
    utils/      # Utilities (terminalResizeManager, …)
  shared/       # Shared TypeScript types

Contributing

Contributions are welcome! See CONTRIBUTING.md for guidelines.


License

MIT — see LICENSE for details.

Reviews (0)

No results found