← All Comparisons (/vs)
HEAD-TO-HEAD TECHNICAL COMPARISON (2026)

code-switch vs gemini-cli

Side-by-side 2026 comparison in Coding, Skills & MCP: google-gemini/gemini-cli leads both total GitHub adoption (★ 109.6k) and recent 7-day momentum. Licensing: Apache-2.0 · Commercial Friendly vs Apache-2.0 · Commercial Friendly.

Cumulative Star Gain Chart (Embeddable SVG)

Backed by independent 6-hour D1 snapshots. Embed in GitHub READMEs or technical blogs.

code-switch vs gemini-cli — 14-Day Star Velocity Comparison on RepoForAI.com 14-DAY CUMULATIVE STAR GAIN COMPARISON REPOFORAI.COM code-switch ★ 822 (Health B) gemini-cli ★ 109.6k (+376/7d) +661 +331 0 11-21 11-28 12-04 (D1 snapshot)
daodao97/code-switch (Health B 55/100) vs google-gemini/gemini-cli (Health A+ 98/100) multi-day star momentum.
Compare different repos →

Key Metrics Matrix

Dimensiondaodao97/code-switchgoogle-gemini/gemini-cli
Total GitHub Stars★ 822★ 109,557
24h / 7d Velocity+0 / +0+36 / +376
7-Day Trend Curve
Engineering HealthB · 55/100A+ · 98/100
Deployment SignalsSelf-Hosted · Local AIDocker · CLI
Primary LanguageGoTypeScript
Commercial LicenseApache-2.0 · Commercial FriendlyApache-2.0 · Commercial Friendly
ActivityUpdated 6mo agoUpdated today
Latest Releasev0.1.8v0.72.0
Best ForDevelopers running Claude Code or Codex on a workstation who already have multiple compatible providers and want a stable CLI endpoint, ordered fallback, and per-request usage visibilityTeams with approved Gemini Code Assist access that want terminal-based code exploration and editing, headless repo automation, and MCP integrations
Maintaining code-switch, gemini-cli, or an open-source alternative? Reach engineers comparing this stack.
Feature Repo ($19)Sponsor Track

code-switch · Highlights & Quickstart

Stable CLI endpoint: both clients are redirected to http://127.0.0.1:18100, so switching upstreams does not require restarting them.
Separate protocol routes: /v1/messages goes to configured Claude providers, while /responses goes to configured Codex providers.
Priority groups: v0.1.8 adds provider Levels 1–10 and tries higher-priority groups first; an unset Level defaults to 1.
Usage visibility: request-level usage tracking makes individual calls available for cost review.
brew install mingw-w64

gemini-cli · Highlights & Quickstart

Runtime: @google/gemini-cli exposes the gemini binary and requires Node.js 20 or later.
Terminal I/O: Ink powers the interface; the manifest includes node-pty and platform-specific @lydell/node-pty packages.
Automation: -p supports headless prompts, with json for structured responses and stream-json for newline-delimited events.
MCP integration: Configure external tool servers in ~/.gemini/settings.json independently of the A2A server.
# Using npx (no installation required)
npx @google/gemini-cli

code-switch vs gemini-cli FAQ

How do code-switch and gemini-cli differ on commercial licensing?

daodao97/code-switch uses Apache-2.0 · Commercial Friendly (Permissive license allowing commercial use, modification, and proprietary distribution.), whereas google-gemini/gemini-cli uses Apache-2.0 · Commercial Friendly (Permissive license allowing commercial use, modification, and proprietary distribution.).

Which is growing faster in 2026: code-switch or gemini-cli?

According to RepoForAI's 6-hour GitHub telemetry, code-switch has 822 stars (+0 in 7d) vs. gemini-cli with 109,557 stars (+376 in 7d).

When should engineering teams pick code-switch vs gemini-cli?

Choose code-switch (Go) for: Developers running Claude Code or Codex on a workstation who already have multiple compatible providers and want a stable CLI endpoint, ordered fallback, and per-request usage visibility. Choose gemini-cli (TypeScript) for: Teams with approved Gemini Code Assist access that want terminal-based code exploration and editing, headless repo automation, and MCP integrations.

More Head-to-Head Comparisons

WEEKLY BREAKOUT DIGEST

Top 10 Breakout Open-Source AI Repos, Every Thursday

Signal-only digest of fast-growing AI repos, SPDX license alerts, and architecture picks. Zero spam.

Zero spam · 1-click unsubscribe · Privacy Policy

Saved in your browser · Export Markdown RFC tables or jump into /vs compare