# Gemini CLI, set up as easily as Claude

> Shuriken 5.1 sets up Gemini CLI like Claude Code: install it in setup, add Code Assist sign-ins and paid API keys as sources, see allowances, switch.

Source: https://shuriken.sh/blog/gemini-set-up-like-claude

Shuriken 5.1 sets up Gemini CLI like Claude Code: install it in setup, add Code Assist sign-ins and paid API keys as sources, see allowances, switch.

[Update](https://shuriken.sh/blog) By Shuriken Updated 9 November 2026 5 min read

**Contents**

Gemini CLI now sets up in Shuriken the way Claude Code always has. Pick it in setup and Shuriken installs it. Then add each Google sign-in that carries a Gemini Code Assist Standard or Enterprise licence, and any paid Gemini API key, as a source of its own, with each sign-in's daily allowance on show. When one runs low, your Gemini chats move to the next at the end of their turn.

## Which sign-ins Gemini CLI still takes #

Personal Google accounts stopped working in Gemini CLI on 18 June 2026. Google announced it on 19 May: "On June 18, 2026, Gemini CLI and Gemini Code Assist IDE extensions will stop serving requests for Google AI Pro and Ultra, as well as those using it free of charge using Gemini Code Assist for individuals" ([Google Developers Blog](https://developers.googleblog.com/en/an-important-update-transitioning-gemini-cli-to-antigravity-cli/)). The same post says access through a Code Assist Standard or Enterprise licence "remains unchanged", and that "Gemini CLI will remain accessible via paid Gemini and Gemini Enterprise Agent Platform API keys".

So a Gemini source in Shuriken is one of two things:

- a Google sign-in whose account has a Code Assist Standard or Enterprise licence, which is usually one your organisation assigns;
- a paid Gemini API key.

A free Google account, or one on Google AI Pro or Ultra, can't sign Gemini CLI in any more, in Shuriken or anywhere else. Google sends those users to Antigravity CLI, which is also one of the agents Shuriken runs. [Gemini CLI vs Antigravity CLI](https://shuriken.sh/compare/gemini-cli-vs-antigravity-cli) sets out which of the two your account can use.

## Claude got the red carpet. Gemini got a terminal. #

Shuriken started life as the harness we wanted for our own Claude accounts, and it showed. Claude had a guided sign-in, usage bars and a cost on every turn. Gemini CLI was one of the [coding agents](https://shuriken.sh/features/coding-agents) Shuriken runs (67 today), and it worked, but you added it half blind: no allowance on screen, no cost, and setup didn't put it in front of you. In 5.1, Gemini and the other agents got the same path in that Claude has.

## What changed in 5.1 #

The first screens on a new computer ask which agents you want. Claude Code, Codex and Gemini CLI come first, and the rest are under More agents. Anything already on the computer is switched on and marked as found. Shuriken installs the ones you choose, so there's no hunting for an install command.

Adding a source works the same for every agent. Under Add source, pick Gemini, then sign in with a licensed Google account or paste a paid API key. Signing in runs Gemini CLI's own sign-in for that source.

Several licensed sign-ins can sit side by side, say one from your employer and one from a client's organisation. That part already worked before 5.1. Out of the box, Gemini CLI keeps its sign-in in one .gemini folder in your home, so signing in with a second Google account replaces the first. Shuriken gives every Gemini source a home of its own. Gemini CLI's own docs describe the setting that makes this possible, [GEMINI_CLI_HOME](https://geminicli.com/docs/reference/configuration/) ("the root directory for Gemini CLI's user-level configuration and storage"), and Shuriken sets it per source, so each sign-in stays put. It also keeps each sign-in's tokens in that source's own folder, rather than one shared Keychain item that every account would overwrite.

Your GEMINI.md, custom commands, extensions and skills are shared across every Gemini source, so switching accounts doesn't mean switching personalities.

Each Gemini source gets a home of its own, so a second sign-in no longer replaces the first.

For each Google sign-in, Sources shows what's left of every model's daily allowance and when it resets: the numbers Gemini CLI's /stats reads. Gemini turns are also priced from Google's published per-token prices, so a Gemini chat's cost reads like a Claude or Codex one. A model Google's price page doesn't list shows no price rather than a guessed one.

Shuriken runs Claude Code, Codex, Gemini CLI and 64 more agents side by side, with your own sign-ins.

[Try Shuriken](https://shuriken.sh/)

## Switching, the Gemini way #

Gemini sources switch like any others. When the source in use reaches your switch point, or Google reports a limit, Shuriken moves your Gemini chats to the Gemini source with the most room, on every device at once. A "Switched to …" card in the chat says who took over (the [source switching](https://shuriken.sh/features/source-switching) page has the full story).

There's one difference worth knowing:

| | Claude Code | Gemini CLI |
| --- | --- | --- |
| When a chat moves | On its next request, mid-task, with its subagents | When its current turn ends |
| What you notice | Nothing, the turn carries on | The turn finishes on the old source, the next one starts on the new |
| Usage read per account | 5-hour and weekly windows | Each model's daily allowance (Google sign-in) |

Claude Code's requests can be moved one at a time, so a Claude chat changes accounts in the middle of a long task. Gemini CLI is moved between turns: the turn in flight finishes where it started, and the next one runs on the new source.

API keys work for Gemini as for every other agent. Switch to API keys is off by default. Turn it on, and keys take Gemini chats only once every Gemini sign-in is out. A spend cap per fallback run (on by default, $25) then stops the run. It counts everything that run spends with Google, across every key it uses, so it's not a cap per key. Shuriken can't read how much a Gemini key has left, so that cap is what keeps the keys in check.

## Using Gemini next to Claude and Codex #

You don't have to pick a favourite. A project can have a Claude chat on the backend, a Codex chat on tests and a Gemini chat on the docs, each on its own branch if you pick Own branch for it. Gemini fits the same split we described for two agents in [Claude Code and Codex in one project](https://shuriken.sh/blog/claude-and-codex-together).

With several sources per provider, [tags](https://shuriken.sh/blog/what-is-a-source) help: tag your Gemini sources by the organisation that pays for them and filter the table to one at a time.

## A word on terms #

Add only Google accounts and keys you own or are entitled to use. A Code Assist licence is usually your employer's or a client's, so their rules apply as well as Google's. Google's terms for Gemini CLI [depend on how you sign in](https://geminicli.com/docs/resources/tos-privacy/): a Code Assist Standard or Enterprise licence falls under the Google Cloud Platform Terms of Service, a paid Gemini API key under the Gemini API Terms of Service for paid services, and Vertex AI under Google Cloud's terms. The same page says that directly accessing the services that power Gemini CLI with third-party software, for example by reusing Gemini CLI's sign-in in another tool, violates those terms and may be grounds for suspending the account. Read the terms that apply to you. Where you're unsure, a paid API key, which falls under the Gemini API terms, is the clearest path. And don't create accounts to get around limits: that's not what source switching is for.

Gemini sources, setup and switching come with Shuriken 5.1. [Try Shuriken](https://shuriken.sh/).

Share

[X](https://x.com/intent/post?url=https%3A%2F%2Fshuriken.sh%2Fblog%2Fgemini-set-up-like-claude&text=Gemini%20CLI%2C%20set%20up%20as%20easily%20as%20Claude)[LinkedIn](https://www.linkedin.com/sharing/share-offsite/?url=https%3A%2F%2Fshuriken.sh%2Fblog%2Fgemini-set-up-like-claude)[Hacker News](https://news.ycombinator.com/submitlink?u=https%3A%2F%2Fshuriken.sh%2Fblog%2Fgemini-set-up-like-claude&t=Gemini%20CLI%2C%20set%20up%20as%20easily%20as%20Claude)[Reddit](https://www.reddit.com/submit?url=https%3A%2F%2Fshuriken.sh%2Fblog%2Fgemini-set-up-like-claude&title=Gemini%20CLI%2C%20set%20up%20as%20easily%20as%20Claude)[E-mail](mailto:?subject=Gemini%20CLI%2C%20set%20up%20as%20easily%20as%20Claude&body=https%3A%2F%2Fshuriken.sh%2Fblog%2Fgemini-set-up-like-claude)

## Sources

- [Google Developers Blog: Transitioning Gemini CLI to Antigravity CLI](https://developers.googleblog.com/en/an-important-update-transitioning-gemini-cli-to-antigravity-cli/) (accessed 24 October 2026)
- [Gemini CLI: authentication setup](https://geminicli.com/docs/get-started/authentication/) (accessed 24 October 2026)
- [Gemini CLI: License, Terms of Service, and Privacy Notices](https://geminicli.com/docs/resources/tos-privacy/) (accessed 24 October 2026)
- [Gemini CLI configuration reference (GEMINI_CLI_HOME)](https://geminicli.com/docs/reference/configuration/) (accessed 24 October 2026)

## Frequently asked questions

**Can Gemini CLI still sign in with a personal Google account?**

No. Since 18 June 2026 Gemini CLI serves a Google sign-in only when the account has a Gemini Code Assist Standard or Enterprise licence, and it still takes paid Gemini API keys. Google points free, Google AI Pro and Ultra users to Antigravity CLI.

**Can Gemini CLI use more than one Google account?**

Gemini CLI keeps one sign-in in its home folder. You can point GEMINI_CLI_HOME at a different folder per licensed account, or add each one to Shuriken as its own source, which does that for you.

**When does a Gemini chat switch to another account?**

At the end of its current turn. Claude Code chats can move mid-task, on their next request; Gemini CLI chats finish the turn they are in first.

**Does Shuriken show how much Gemini I have left?**

For a Google sign-in, yes: what is left of each model's daily allowance, the numbers Gemini CLI's /stats reads. An API key's usage can't be read. Keys only take chats with Switch to API keys on, and then a spend cap per fallback run stops the spending.

**Is it allowed to use several Google accounts with Gemini CLI?**

Use only accounts and keys you own or are entitled to use. A Code Assist licence usually comes from an employer, whose rules apply too. Where in doubt, a paid Gemini API key under the Gemini API terms is the clearest path.

Every coding agent

67 coding agents, one harness.

Run Claude Code, Codex, Gemini CLI and the rest on your own computers, with the sign-ins you already have.

[Try Shuriken](https://shuriken.sh/)

[How it works](https://shuriken.sh/features/coding-agents)

## Keep reading

- [Point at the page: Design mode for coding agents: Update 27 Oct 2026 3 min read Click an element in your running app, write the change, and your coding agent gets its details and a cropped screenshot. No more describing buttons.](https://shuriken.sh/blog/design-mode-point-at-the-page)
- [Claude break reminders: take the break, keep the agents: Story 6 Nov 2026 3 min read Claude's break reminders sit in Settings › Wellbeing and nudge you after a daily amount of time. Take the break; your coding agents can keep working.](https://shuriken.sh/blog/claude-break-reminders)
- [Why we call Shuriken a harness: Story 4 Nov 2026 3 min read Since 21 October 2026 we call Shuriken a harness: it runs Claude Code, Codex and 65 more agents with your own accounts, tools and devices.](https://shuriken.sh/blog/harness-not-orchestrator)
- [Your agents run on your machines, not ours: Story 27 Oct 2026 3 min read Shuriken runs coding agents on your own computers and servers. Our cloud links devices and relays sealed messages. Why we chose local, and the trade-off.](https://shuriken.sh/blog/agents-on-your-machines)
- [AGENTS.md vs CLAUDE.md: one file for every agent?: Comparison 27 Oct 2026 6 min read AGENTS.md vs CLAUDE.md: Codex reads AGENTS.md, Claude Code reads it when there is no CLAUDE.md or through @AGENTS.md, Gemini CLI once you list it.](https://shuriken.sh/compare/agents-md-vs-claude-md)
- [How to choose an app for your coding agents: Guide 27 Oct 2026 4 min read Picking an app to run Claude Code, Codex and other agents? Eight questions that separate them: where agents run, your plans, worktrees, limits and privacy.](https://shuriken.sh/guides/choose-a-coding-agent-app)
- [Can you use your Claude plan in OpenCode or other tools?: Guide 27 Oct 2026 6 min read Not in OpenCode. Anthropic keeps Pro and Max sign-ins for Claude Code and its own apps, and OpenCode dropped its Claude plugins in 1.3.0. Use an API key.](https://shuriken.sh/guides/claude-subscription-in-other-tools)
- [Shuriken vs the Codex app (2026): Comparison 27 Oct 2026 6 min read The Codex app is OpenAI's own, with Cloud tasks and schedules. Shuriken runs Codex beside Claude Code and 65 more agents, across your ChatGPT accounts.](https://shuriken.sh/compare/codex-app)
- [Gemini CLI alternatives after the June 2026 change: Comparison 27 Oct 2026 7 min read Gemini CLI alternatives by sign-in: Antigravity CLI for a personal Google account, a paid key to keep Gemini CLI, or Claude Code, Codex and Qwen Code.](https://shuriken.sh/compare/gemini-cli-alternatives)

## Free tools

- [Claude limit reset tracker](https://shuriken.sh/tools/limit-resets/claude)
- [Codex limit reset tracker](https://shuriken.sh/tools/limit-resets/codex)
