from Hacker News

Gemini CLI

by sync on 6/25/25, 1:10 PM with 755 comments

GitHub: https://github.com/google-gemini/gemini-cli
  • by cperry on 6/25/25, 1:50 PM

    Hi - I work on this. Uptake is a steep curve right now, spare a thought for the TPUs today.

    Appreciate all the takes so far, the team is reading this thread for feedback. Feel free to pile on with bugs or feature requests we'll all be reading.

  • by joelm on 6/25/25, 4:56 PM

    Been using Claude Code (4 Opus) fairly successfully in a large Rust codebase, but sometimes frustrated by it with complex tasks. Tried Gemini CLI today (easy to get working, which was nice) and it was pretty much a failure. It did a notably worse job than Claude at having the Rust code modifications compile successfully.

    However, Gemini at one point output what will probably be the highlight of my day:

    "I have made a complete mess of the code. I will now revert all changes I have made to the codebase and start over."

    What great self-awareness and willingness to scrap the work! :)

  • by wohoef on 6/25/25, 2:51 PM

    A few days ago I tested Claude Code by completely vibe coding a simple stock tracker web app in streamlit python. It worked incredibly well, until it didn't. Seems like there is a critical project size where it just can't fix bugs anymore. Just tried this with Gemini CLI and the critical project size it works well for seems to be quite a bit bigger. Where claude code started to get lost, I simply told Gemini CLI to "Analyze the codebase and fix all bugs". And after telling it to fix a few more bugs, the application simply works.

    We really are living in the future

  • by ipsum2 on 6/25/25, 4:21 PM

    If you use this, all of your code data will be sent to Google. From their terms:

    https://developers.google.com/gemini-code-assist/resources/p...

    When you use Gemini Code Assist for individuals, Google collects your prompts, related code, generated output, code edits, related feature usage information, and your feedback to provide, improve, and develop Google products and services and machine learning technologies.

    To help with quality and improve our products (such as generative machine-learning models), human reviewers may read, annotate, and process the data collected above. We take steps to protect your privacy as part of this process. This includes disconnecting the data from your Google Account before reviewers see or annotate it, and storing those disconnected copies for up to 18 months. Please don't submit confidential information or any data you wouldn't want a reviewer to see or Google to use to improve our products, services, and machine-learning technologies.

  • by iandanforth on 6/25/25, 1:37 PM

    I love how fragmented Google's Gemini offerings are. I'm a Pro subscriber, but I now learn I should be a "Gemini Code Assist Standard or Enterprise" user to get additional usage. I didn't even know that existed! As a run of the mill Google user I get a generous usage tier but paying them specifically for "Gemini" doesn't get me anything when it comes to "Gemini CLI". Delightful!
  • by simonw on 6/25/25, 6:16 PM

  • by ZeroCool2u on 6/25/25, 1:39 PM

    Ugh, I really wish this had been written in Go or Rust. Just something that produces a single binary executable and doesn't require you to install a runtime like Node.
  • by lazarie on 6/25/25, 2:04 PM

    "Failed to login. Ensure your Google account is not a Workspace account."

    Is your vision with Gemini CLI to be geared only towards non-commercial users? I have had a workspace account since GSuite and have been constantly punished for it by Google offerings all I wanted was gmail with a custom domain and I've lost all my youtube data, all my fitbit data, I cant select different versions of some of your subscriptions (seemingly completely random across your services from a end-user perspective), and now as a Workspace account I cant use Gemini CLI for my work, which is software development. This approach strikes me as actively hostile towards your loyal paying users...

  • by tobyhinloopen on 6/26/25, 6:19 AM

    I literally wrote "hello" and got this:

    > hello

    [API Error: {"error":{"message":"{\n \"error\": {\n \"code\": 429,\n \"message\": \"Resource has been exhausted (e.g. check quota).\",\n \"status\": \"RESOURCE_EXHAUSTED\"\n }\n}\n","code":429,"status":"Too Many Requests"}}] Please wait and try again later. To increase your limits, request a quota increase through AI Studio, or switch to another /auth method

    ⠼ Polishing the pixels... (esc to cancel, 84s)

  • by asadm on 6/25/25, 1:35 PM

    I have been using this for about a month and it’s a beast, mostly thanks to 2.5pro being SOTA and also how it leverages that huge 1M context window. Other tools either preemptively compress context or try to read files partially.

    I have thrown very large codebases at this and it has been able to navigate and learn them effortlessly.

  • by andreagrandi on 6/26/25, 11:31 AM

    I've a few concerns:

    1) I tried to use it on an existing project asking this "Analyse the project and create a GEMINI.md". It fumbled some non sense for 10-15 minutes and after that it said it was done, but it had only analysed a few files in the root and didn't generate anything at all.

    2) Despite finding a way to login with my workspace account, it then asks me for the GOOGLE_CLOUD_PROJECT which doesn't make any sense to me

    3) It's not clear AT ALL if and how my data and code will be used to train the models. Until this is pretty clear, for me is a no go.

    p.s: it feels like a promising project which has been rushed out too quickly :/

  • by jonbaer on 6/25/25, 4:22 PM

    -y, --yolo Automatically accept all actions (aka YOLO mode, see https://www.youtube.com/watch?v=xvFZjo5PgG0 for more details)? [boolean] [default: false]
  • by sameermanek on 6/25/25, 7:06 PM

    Gemini is by far the most confusing product of all time. The paid version for it is available in 3 forms: 1. Gemini pro (which gets you more google drive storage and some form of access to veo so people obviously get that) 2. Google AI studio, just to piss off redmond devs and which is used by no one outside google 3. This CLI, which has its own plan.

    Then there are 3rd party channels, if you have a recent samsung phone, you get 1 yr access to AI features powered by gemini, after which you need to pay. And lord knows where else has google been integrating gemini now.

    Ive stopped using google's AI now. Its like they have dozens of teams within gemini on completely different slack sessions.

  • by kevitivity on 6/27/25, 4:48 AM

    Here on Fedora 42 I couldn't past "Waiting for auth... (Press ESC to cancel)" when selecting Auth Method,However switching to gnome-terminal got that working.
  • by hmate9 on 6/26/25, 1:28 PM

    I’ve found the experience pretty underwhelming so far. Maybe they’re under heavy load right now, but nearly every time I try to use it, it takes about 20 seconds before it automatically switches from 2.5 Pro to 2.5 Flash due to delays. Unfortunately, the Flash output just isn’t good enough.
  • by ed_mercer on 6/25/25, 1:28 PM

    > That’s why we’re introducing Gemini CLI

    Definitely not because of Claude Code eating our lunch!

  • by meetpateltech on 6/25/25, 1:52 PM

    Key highlights from blog post and GitHub repo:

    - Open-source (Apache 2.0, same as OpenAI Codex)

    - 1M token context window

    - Free tier: 60 requests per minute and 1,000 requests per day (requires Google account authentication)

    - Higher limits via Gemini API or Vertex AI

    - Google Search grounding support

    - Plugin and script support (MCP servers)

    - Gemini.md file for memory instruction

    - VS Code integration (Gemini Code Assist)

  • by mike-bailey on 6/25/25, 11:50 PM

    I added a two way voice interface to Gemini CLI.

    https://youtu.be/HC6BGxjCVnM?feature=shared&t=36

    It's a FOSS MCP server I created a couple of weeks ago:

    - https://getvoicemode.com

    - https://github.com/mbailey/voicemode

    # Installation (~/.gemini/settings.json)

    {

      "theme": "Dracula",  
    
      "selectedAuthType": "oauth-personal",  
    
      "mcpServers": {  
    
        "voice-mode": {  
    
          "command": "uvx",  
    
          "args": [  
    
            "voice-mode"  
    
          ]  
    
        }  
    
      }  
    
    }
  • by eisbaw on 6/25/25, 7:42 PM

    Can't we standardize on AGENTS.md instead of all these specific CLAUDE.md and now GEMINI.md.

    I just symlink now to AGENTS.md

  • by CGamesPlay on 6/26/25, 9:39 AM

    I used this a fair amount today. My first impressions are that it feels a bit worse to use than Claude Code (understandable given a day 1 product), and the lying progress indicator is extremely annoying.

    It generates a bunch of fake activity indicators based on your prompt, then cycles through them on a timer. It has no bearing on the actual activity going on underneath.

    It appears to be much slower than Claude Code, possibly due to being overloaded, but it feels like it thinks a lot more before beginning to suggest file edits. The permissions aren't as nice either. Where Claude Code suggests "allow uv run pytest without approval", Gemini suggests "allow uv run without approval", which is broader than I would like.

  • by barbazoo on 6/25/25, 2:30 PM

    > To use Gemini CLI free-of-charge, simply login with a personal Google account to get a free Gemini Code Assist license. That free license gets you access to Gemini 2.5 Pro and its massive 1 million token context window. To ensure you rarely, if ever, hit a limit during this preview, we offer the industry’s largest allowance: 60 model requests per minute and 1,000 requests per day at no charge.

    If it sounds too good to be true, it probably is. What’s the catch? How/why is this free?

  • by kmod on 6/25/25, 9:22 PM

    I've found a method that gives me a lot more clarity about a company's privacy policy:

      1. Go to their enterprise site
      2. See what privacy guarantees they advertise above the consumer product
      3. Conclusion: those are things that you do not get in the consumer product
    
    These companies do understand what privacy people want and how to write that in plain language, and they do that when they actually offer it (to their enterprise clients). You can diff this against what they say to their consumers to see where they are trying to find wiggle room ("finetuning" is not "training", "ever got free credits" means not-"is a paid account", etc)

    For Code Assist, here's their enterprise-oriented page vs their consumer-oriented page:

    https://cloud.google.com/gemini/docs/codeassist/security-pri...

    https://developers.google.com/gemini-code-assist/resources/p...

    It seems like these are both incomplete and one would need to read their overall pages, which would be something more like

    https://support.google.com/a/answer/15706919?hl=en

    https://support.google.com/gemini/answer/13594961?hl=en#revi...

  • by thor-rodrigues on 6/25/25, 1:13 PM

  • by Gasp0de on 6/26/25, 2:45 PM

    I just get downgraded to 2.5 Flash after like three prompts and can't seem to find an option to switch back. So much for "60 requests per minute are free".
  • by virgildotcodes on 6/25/25, 6:25 PM

    So far I'm getting mixed results. I noted in its memory and in GEMINI.md a couple of directives like "only generate migration files using cli tools to ensure the timestamps are correct" and "never try to run migrations yourself" and it failed to follow those instructions a couple of times within ~20 minutes of testing.

    In comparison to Claude Code Opus 4, it seemed much more eager to go on a wild goose chase of fixing a problem by creating calls to new RPCs that then attempted to modify columns that didn't exist or which had a different type, and its solution to this being a problem was to then propose migration after migration to modify the db schema to fit the shape of the rpc it had defined.

    Reminded me of the bad old days of agentic coding circa late 2024.

    I'm usually a big fan of 2.5 Pro in an analysis / planning context. It seems to just weirdly fall over when it comes to tool calling or something?

  • by KenoFischer on 6/26/25, 1:12 AM

    Tried it out.

    1. First authentication didn't work on my headless system, because it wants an oauth redirect to localhost - sigh.

    2. Next, WebFetch isn't able to navigate github, so I had to manually dig out some references for it.

    3. About 2 mins in, I just got ``` ℹ Rate limiting detected. Automatically switching from gemini-2.5-pro to gemini-2.5-flash for faster responses for the remainder of this session. ``` in a loop with no more progress.

    I understand the tool is new, so not drawing too many conclusions from this yet, but it does seem like it was rushed out a bit.

  • by gdudeman on 6/25/25, 8:21 PM

    Review after 1 hour in:

    Gemini CLI does not take new direction especially well. After planning, I asked it to execute and it just kept talking about the plan.

    Another time when I hit escape and asked it to stop and undo the last change, it just plowed ahead.

    It makes a lot of mistakes reading and writing to files.

    Some, but by no means all, of the obsequious quotes from my first hour with the product: - “You’ve asked a series of excellent questions that have taken us on a deep dive ...” - “The proposed solution is not just about clarity; it’s also the most efficient and robust.”

  • by opengears on 6/25/25, 8:05 PM

    We need laws that these megacorps have to show in an easy and understandable form which data is collected and what happens to the data. If they do fail to explain this (in 5 sentences or less) - they should pay insane fines per day. It is the only way (and solves the debt crisis of the US at the same time). It is ridiculous that we do have this situation in 2025 that we do not know which data is processed or not.
  • by Aeolun on 6/26/25, 1:01 AM

    Well, I've tried it, and I'm not impressed. Gemini used to be pretty good, and I like the context size, but my attempts to use the Gemini client resulted in:

    1. The thing going in a circle trying to fix a bug by persistently trying different permutations of an API interface it never bothered to check the definition of. Isn't that why it's internet connected?

    2. When I asked it to just analyze instead of change stuff. It just hung for 20 minutes giving me responses saying that gemini-2.5-pro was slow, and that it was switching to 2.5-flash, with no other output to indicate what it was doing other than those cute scrolling messages that mean nothing.

    At least in Claude it's clear that the messages mean nothing, because they're clearly generic. Gemini gives you the impression the status messages mean something since they're sort of related to the topic being worked on.

  • by atonse on 6/25/25, 5:48 PM

    This is all very cool, but I hate to be the "look at the shiny lights" guy...

    How did they do that pretty "GEMINI" gradient in the terminal? is that a thing we can do nowadays? It doesn't seem to be some blocky gradient where each character is a different color. It's a true gradient.

    (yes I'm aware this is likely a total clone of claude code, but still am curious about the gradient)

  • by I_am_tiberius on 6/26/25, 8:32 AM

    I wish google would treat its products as completely separate offerings, each with its own login, dedicated site, and user management. I don’t want to be automatically logged into all Google services just because I signed in to one. Their ecosystem is becoming as complex and confusing as Microsoft’s. They should focus on making each product standalone, instead of forcing synergies that only make the user experience worse.
  • by slavakurilyak on 6/26/25, 8:23 PM

    Gemini CLI pricing:

    1. Gemini Code Assist (GCA) for Individuals: FREE for 1,000 model requests/day

    2. GCA Standard: $22.80/month for 1,500 model requests/day (1.5x more than FREE)

    3. GCA Enterprise: $54.00/month for 2,000 model requests/day (2X more than FREE)

    Source: https://codeassist.google

  • by albertzeyer on 6/25/25, 2:36 PM

    The API can be used both via your normal Google account, or via API key?

    Because it says in the README:

    > Authenticate: When prompted, sign in with your personal Google account. This will grant you up to 60 model requests per minute and 1,000 model requests per day using Gemini 2.5 Pro.

    > For advanced use or increased limits: If you need to use a specific model or require a higher request capacity, you can use an API key: ...

    When I have the Google AI Pro subscription in my Google account, and I use the personal Google account for authentication here, will I also have more requests per day then?

    I'm currently wondering what makes more sense for me (not for CLI in particular, but for Gemini in general): To use the Google AI Pro subscription, or to use an API key. But I would also want to use the API maybe at some point. I thought the API requires an API key, but here it seems also the normal Google account can be used?

  • by mofle on 6/25/25, 10:33 PM

    Like OpenAI's Codex and Anthropic's Claude Code, this one is also built with Ink, React for the terminal.

    https://github.com/vadimdemedes/ink

  • by rbren on 6/25/25, 2:24 PM

    If you're looking for a fully open source, LLM-agnostic alternative to Claude Code and Gemini CLI, check out OpenHands: https://docs.all-hands.dev/usage/how-to/cli-mode
  • by kaycebasques on 6/26/25, 2:50 PM

    Tangentially related, I published some notes about "docs for agents" (e.g. `GEMINI.md`, `CLAUDE.md`, `AGENTS.md`, etc.) yesterday

    It's more focused on implications for docs strategy (I'm worried that agent providers are steering us towards duplicating information that's already in eng docs) rather than user best practices i.e. "put this into your agent doc to improve agent performance"

    https://technicalwriting.dev/ai/agents/

  • by mulmboy on 6/26/25, 1:36 AM

    I gave it a shot just now with a fairly simple refactor. +19 lines, -9 lines, across two files. Totally ballsed it up. Defined one of the two variables it was meant to, referred to the non-implemented one. I told it "hey you forgot the second variable" and then it went and added it in twice. Added comments (after prompting it to) which were half-baked, ambiguous when read in context.

    Never had anything like this with claude code.

    I've used Gemini 2.5 Pro quite a lot and like most people I find it's very intelligent. I've bent over backwards to use Gemini 2.5 Pro in another piece of work because it's so good. I can only assume it's the gemini CLI itself that's using the model poorly. Keen to try again in a month or two and see if this poor first impression is just a teething issue.

    I told it that it did a pretty poor job and asked it why it thinks that is, told it that I know it's pretty smart. It gave me a wall of text and I asked for the short summary

    > My tools operate on raw text, not the code's structure, making my edits brittle and prone to error if the text patterns aren't perfect. I lack a persistent, holistic view of the code like an IDE provides, so I can lose track of changes during multi-step tasks. This led me to make simple mistakes like forgetting a calculation and duplicating code.

  • by lherron on 6/25/25, 1:35 PM

    Hope this will pressure Anthropic into releasing Claude Code as open source.
  • by jilles on 6/25/25, 4:16 PM

    Anyone else think it's interesting all these CLIs are written in TypeScript? I'd expect Google to use Go.
  • by kpen11 on 6/26/25, 3:09 PM

    I tried it with container-use and its pretty nice! (while the APIs cooperated). One thing that stood out to me compared to other agent products was how intuitive the interface was to use. `/help` is something that not everybody has and its wild. https://www.youtube.com/watch?v=hmh30wuXg08
  • by solomatov on 6/25/25, 3:01 PM

    I couldn't find any mentions of whether they train their models on your source code. May be someone was able to?
  • by djha-skin on 6/25/25, 8:07 PM

    I already use goose[1]. It lets me connect through OpenRouter. Then I can use Gemini without having to give Google Cloud my credit card. Also, OpenRouter makes it easier to switch between models, deals with Claude's silly rate limiting messages gracefully, and I only have to pay in one place.

    1: https://block.github.io/goose/

  • by artdigital on 6/26/25, 8:09 AM

    Wanted to give it a proper try but because it's so overloaded, it almost instantly downgraded me to 2.5-flash. The vscode extension didn't even load, it just gave me a rate limit warning directly after logging in

    Tried upgrading to the Standard plan through Google Cloud with the hope that it would allow me to do more, but after switching my account to the now-paid account, it still almost instantly downgraded me to 2.5-flash

    For the times when I was able to use 2.5-pro, the output has been very good. But the moment it switches to flash, the quality goes down by about 80% and I would never let it code on anything

  • by sega_sai on 6/26/25, 2:15 PM

    It worked yesterday, but stopped today with "Failed to login. Ensure your Google account is not a Workspace account. Message: Resource has been exhausted (e.g. check quota). "

    I guess I will use something else. This is all very annoying given that I actually pay for Gemini Pro...

  • by beepdyboop on 6/26/25, 9:50 AM

    Compare the user experience of exploring the suite of AI products from each company (OpenAI, Google, Anthropic, xAI, etc).

    It is vastly more difficult to understand what Google is offering compared to the others, to what cost, getting an API-key or similar, understanding usage/billing across the suite, etc.

    I wouldn't expect any regular person to bother signing up for any of Google's products, let alone understand what they're really offering.

  • by sync on 6/25/25, 1:15 PM

    These always contain easter eggs. I got some swag from Claude Code, and as suspected, Gemini CLI includes `/corgi` to activate corgi mode.
  • by Frummy on 6/26/25, 3:23 AM

    Oh man I tried dual wielding with cursor, setting up a communication so they both can work at the same time on the same thing, got banned from cursor Then tried with windsurf, ran a bad shellscript without reading it, used up the limit instantly, kill the script, oh man somehow it's still not working either I used the daily limit in an impossible way despite the minute limit supposedly existing, or the way it communicated sidestepped it into a limbo where it is just permanently confused and thinks for 300s then cancels a "test" prompt in the cli
  • by wkat4242 on 6/26/25, 1:14 PM

    I want something like this but that can talk to my local AI servers. I'm not a fan of cloud-based AI.

    I use aichat now but it's not perfect. https://github.com/sigoden/aichat

    The UI on this tool is much better.

  • by hansmayer on 6/26/25, 1:04 PM

    It looked semi-interesting, until reading this line: "So what are you waiting for? Upgrade your terminal experience with Gemini CLI today". Why does what seems to be a developer-oriented tool, need to use that awful LinkedIn/Corpospeak language, oh why?
  • by Mond_ on 6/25/25, 2:31 PM

    Oh hey, afaik all of this LLM traffic goes through my service!

    Set up not too long ago, and afaik pretty load-bearing for this. Feels great, just don’t ask me any product-level questions. I’m not part of the Gemini CLI team, so I’ll try to keep my mouth shut.

    Not going to lie, I’m pretty anxious this will fall over as traffic keeps climbing up and up.

  • by ricksunny on 6/25/25, 8:14 PM

    For me it won't be a real command-line tool until I run into a problem and I get my very own open-source champion on support forums undermining my self-confidence & motivation by asking me "Why would I want to do that?"
  • by koakuma-chan on 6/25/25, 2:55 PM

    It doesn't work. It just gives me 429 after a minute.
  • by ramoz on 6/25/25, 9:21 PM

    Gemini web UI is extremely apologetic and self deprecating at times. Therefore I was not surprised to experience Gemini spiraling into an infinite loop of self-deprecation - literally it abandoned the first command and spiraled into 5-10line blocks of "i suck"

    ---

    Right now there is one CLI that influences and stands far and beyond all others. Smooth UX, and more critical some "natural" or inherent ability to use its tools well.

    Gemini can also achieve this - but i think it's clear the leader is ahead because they have a highly integrated training process with the base model and agentic tool use.

  • by informal007 on 6/26/25, 6:28 AM

    They have all hardware and most advanced LLM technology, I don't know why their market value didn't catch up with microsoft.
  • by jsnell on 6/25/25, 2:07 PM

    What's up with printing lame jokes every few seconds? The last thing I want from a tool like this is my eye to be drawn to the window all the time as if something had changed and needs my action. (Having a spinner is fine, having changing variable length text isn't.)
  • by ruffrey on 6/25/25, 2:54 PM

    Thanks, Google. A bit of feedback - integration with `gcloud` CLI auth would have been appreciated.
  • by Oras on 6/25/25, 3:24 PM

    Appreciate how easy it is to report a bug! I like these commands.

    A bit gutted by the `make sure it is not a workspace account`. What's wrong with Google prioritising free accounts vs paid accounts? This is not the first time they have done it when announcing Gemini, too.

  • by qudat on 6/25/25, 1:42 PM

    Why would someone use this over aider?
  • by codeulike on 6/25/25, 8:06 PM

    I got it to look at the java source code of my old LibGdx 2d puzzle game, and it was able to explain what the game would be like to play and what the objectives were and how the puzzle elements worked. Impressed.
  • by matiasmolinas on 6/25/25, 8:17 PM

  • by mvkel on 6/26/25, 5:13 AM

    It's kind of cool to see big frontier ai tools being exclusive to a terminal window. It really takes me back
  • by FergusArgyll on 6/25/25, 7:50 PM

    It never hit me this hard how rich google is. 60 rpm for free!
  • by UncleOxidant on 6/25/25, 7:48 PM

    Definitely not as nice as using Cline or Kilo Code within VS Code - one thing I ran into right away was that I wanted it to compare the current repo/project it was started in with another repo/project in a different directory. It won't do that:" I cannot access files using relative paths that go outside of my designated project directory". I can do that in KiloCode for sure and it's been pretty handy.
  • by mekpro on 6/25/25, 2:28 PM

    Just refactored 1000 lines of Claude Code generated to 500 lines with Gemini Pro 2.5 ! Very impressed by the overall agentic experience and model performance.
  • by rtaylorgarlock on 6/25/25, 2:38 PM

    I spent 8k tokens after giving the interface 'cd ../<other-dir>', resulting in Gemini explaining that it can't see the other dir outside of current scope but with recommendation ls files in that dir. Which then reminded me of my core belief that we will always have to be above these tools in order to understand and execute. I wonder if/when I'll be wrong.
  • by rurban on 6/26/25, 6:33 AM

    I like it. Yesterday I installed it and let it check some if our udev rules. udevadm verify found some issues, but gemini found much more, and it was much easier to use than Claude.
  • by VeritySage on 6/26/25, 12:20 PM

    It's great to see Google expanding Gemini into a CLI tool, but I do have concerns about data usage. While it’s free for certain requests, the fact that both prompts and outputs can be used to train the model raises privacy and usage questions. Clearer transparency and control over data sharing would be appreciated.
  • by XCSme on 6/26/25, 11:32 AM

    I thought the hero image was a video with a "Play" button, I kept trying to press on it to play the video...
  • by alpb on 6/25/25, 4:36 PM

    Are there any LLMs that offer ZSH plugins that integrate with command history, previous command outputs, system clipboard etc to assist writing the next command? Stuff like gemini/copilot CLI don't feel particularly useful to me. I'm not gonna type "?? print last 30 lines of this file"
  • by fhinkel on 6/25/25, 1:48 PM

    I played around with it to automate GitHub tasks for me (tagging and sorting PRs and stuff). Sometimes it needs a little push to use the API instead of web search, but then it even installs the right tools (like gh) for you. https://youtu.be/LP1FtpIEan4
  • by b0a04gl on 6/25/25, 2:44 PM

    why’d the release post vanish this morning and then show up again 8 hours later like nothing happened. some infra panic or last-minute model weirdness. was midway embedding my whole notes dir when the repo 404’d and I thought y’all pulled a firebase moment.. what's the real story?
  • by devinprater on 6/26/25, 12:55 AM

    I wish the menus were more accessible to screen readers on Windows Terminal, Powershell. NVDA just says "blank" when I arrow through, for example, the authorization choices.
  • by beboplifa on 6/25/25, 4:47 PM

    Wow, this is next-level. I can't believe this is free. This blows cline out of the water!
  • by acedTrex on 6/25/25, 2:33 PM

    Everyone writing the same thing now lol, its plainly obvious this is the workflow best suited to llms
  • by frereubu on 6/25/25, 2:49 PM

    I have access to Gemini through Workspace, but despite spending quite a while trying to find out how, I cannot figure out how to use that in Copilot. All I seem to be able to find is information on the personal account or enterprise tiers, neither of which I have.
  • by bityard on 6/25/25, 10:45 PM

    Is there any way to run this inside a docker container? When I tried, it barfed trying to run `xdg-open`. And I don't see any auth-related options in the `--help` output.
  • by lordofgibbons on 6/25/25, 4:55 PM

    How does this compare to OpenCode and OAI's Codex? Those two are also free, they work with any LLM.

    https://github.com/opencode-ai/opencode

  • by bbminner on 6/25/25, 5:49 PM

    TIL about several more cool gemini-powered prototyping tools: both 1) Canvas tool option in Gemini web (!) app and 2) Build panel in Google AI Studio can generate amazing multi-file shareable web apps in seconds.
  • by b0a04gl on 6/25/25, 2:38 PM

    been testing edge cases - is the 1M context actually flat or does token position, structure or semantic grouping change how attention gets distributed? when I feed in 20 files, sometimes mid-position content gets pulled harder than stuff at the end. feels like it’s not just order, but something deeper - ig the model’s building a memory map with internal weighting. if there’s any semantic chunking or attention-aware preprocessing happening before inference, then layout starts mattering more than size. prompt design becomes spatial. any internal tooling to trace which segments are influencing output?
  • by patates on 6/26/25, 9:35 AM

    It almost immediately switches to flash. I'll stay with the aistudio and repomix.
  • by mil22 on 6/25/25, 3:21 PM

    Does anyone know what Google's policy on retention and training use will be when using the free version by signing in with a personal Google account? Like many others, I don't want my proprietary codebase stored permanently on Google servers or used to train their models.

    At the bottom of README.md, they state:

    "This project leverages the Gemini APIs to provide AI capabilities. For details on the terms of service governing the Gemini API, please refer to the terms for the access mechanism you are using:

    * Gemini API key

    * Gemini Code Assist

    * Vertex AI"

    The Gemini API terms state: "for Unpaid Services, all content and responses is retained, subject to human review, and used for training".

    The Gemini Code Assist terms trifurcate for individuals, Standard / Enterprise, and Cloud Code (presumably not relevant).

    * For individuals: "When you use Gemini Code Assist for individuals, Google collects your prompts, related code, generated output, code edits, related feature usage information, and your feedback to provide, improve, and develop Google products and services and machine learning technologies."

    * For Standard and Enterprise: "To help protect the privacy of your data, Gemini Code Assist Standard and Enterprise conform to Google's privacy commitment with generative AI technologies. This commitment includes items such as the following: Google doesn't use your data to train our models without your permission."

    The Vertex AI terms state "Google will not use Customer Data to train or fine-tune any AI/ML models without Customer's prior permission or instruction."

    What a confusing array of offerings and terms! I am left without certainty as to the answer to my original question. When using the free version by signing in with a personal Google account, which doesn't require a Gemini API key and isn't Gemini Code Assist or Vertex AI, it's not clear which access mechanism I am using or which terms apply.

    It's also disappointing "Google's privacy commitment with generative AI technologies" which promises that "Google doesn't use your data to train our models without your permission" doesn't seem to apply to individuals.

  • by htrp on 6/25/25, 1:30 PM

    symptomatic of Google's lack of innovation and pm's rushing to copy competitor products

    better question is why do you need a modle specific CLI when you should be able to plug in to individual models.

  • by prasoon2211 on 6/26/25, 7:36 AM

    I tried using it for something non-trivial. And:

    > 429: Too many requests

    Mind you, this is with a paid API key

  • by Aeolun on 6/25/25, 4:21 PM

    How am I supposed to use this when actually working on a cli? The sign in doesn’t display s link I can open. Presumably it’s trying and failing to open firefox?
  • by Tepix on 6/26/25, 12:05 PM

    "Gemini CLI: your open-source AI agent"

    I hate this openwashing. It's a closed model, its weights are nowhere to be seen! (not to mention the training data, the real "source" of a LLM)

    The fact that there is a small component that is open source that accesses this closed model doesn't change that at all.

  • by cheesecompiler on 6/25/25, 6:07 PM

    In my experience Gemini is consistently more conservative and poor at reasoning/regurgitates, like a local Llama instance.
  • by ac360 on 6/25/25, 7:19 PM

    Is the CLI ideal for coding assistants, or is the real draw using Anthropic models in their pure, unmediated form?
  • by matltc on 6/25/25, 2:04 PM

    Sweet, I love Claude and was raring to try out their CLI that dropped a few days ago, but don't have a sub. This looks to be free
  • by learner007 on 6/26/25, 6:45 AM

    does it share code with google? or rather, if you use it, does it become likely someone else will get the same code if they tried to reproduce your product?
  • by phillipcarter on 6/25/25, 2:16 PM

    An aside, but with Claude Code and now Gemini instrumenting operations with OpenTelemetry by default, this is very cool.
  • by tcn33 on 6/25/25, 11:48 PM

    Immediately tries to access ~/Documents and Apple Music. What the?
  • by iddan on 6/25/25, 3:29 PM

    This is awesome! We recently started using Xander (https://xander.bot). We've found it's even better to assign PMs to Xander on Linear comments and get a PR. Then, the PM can validate the implementation in a preview environment, and engineers (or another AI) can review the code.
  • by flipgimble on 6/26/25, 3:46 PM

    I was rather disappointed and confused that the "Google One" or "Google AI Pro" subscription does not give you access to use Gemini API keys, and you can't use this Gemini CLI either.

    Google services have become a patchwork of painfully confounding marketing terms that mean nothing and obfuscate what they actually provide.

  • by llm_nerd on 6/25/25, 4:09 PM

    Given that there's another comment complaining about this being in node...

    This perfectly demonstrates the benefit of the nodejs platform. Trivial to install and use. Almost no dependency issues (just "> some years old version of nodejs"). Immediately works effortlessly.

    I've never developed anything on node, but I have it installed because so many hugely valuable tools use it. It has always been absolutely effortless and just all benefit.

    And what a shift from most Google projects that are usually a mammoth mountain of fragile dependencies.

    (uv kind of brings this to python via uvx)

  • by iaresee on 6/25/25, 2:30 PM

    Whoa. Who at Google thought providing this as an example of how to test your API key was a good idea?

    https://imgur.com/ZIZkLU7

    This is shown at the top of the screen in https://aistudio.google.com/apikey as the suggested quick start for testing your API key out.

    Not a great look. I let our GCloud TAM know. But still.

  • by poszlem on 6/25/25, 1:32 PM

    The killer feature of Claude Code is that you can just pay for Max and not worry about API billing. It lets me use it pretty much all the time without stressing over every penny or checking the billing page. Until they do that - I'm sticking with Claude.
  • by Jayakumark on 6/25/25, 2:18 PM

    Whether any CLI interactions are used to train the model or no ?
  • by bufo on 6/25/25, 2:53 PM

    Grateful that this one supports Windows out of the box.
  • by dmd on 6/25/25, 5:24 PM

    Well, color me not impressed. On my very first few tries, out of 10 short-ish (no more than 300 lines) python scripts I asked it to clean up and refactor, 4 of them it mangled to not even run any more, because of syntax (mostly quoting) errors and mis-indenting. Claude has never done that.
  • by ivanjermakov on 6/25/25, 4:12 PM

    Gemini, convert my disk from MBR to GPT
  • by _giorgio_ on 6/26/25, 2:38 PM

    In google colab, how are we supposed to run it?

    Well, not sure that it makes sense to do it, anyway I've tried to run in in a cell and in the google colab terminal. Still waiting for auth (?)

  • by dlvhdr on 6/26/25, 2:30 AM

    Yes i would like to generate videos of a cat on an airplane. Such value, much wow.
  • by zxspectrum1982 on 6/25/25, 2:48 PM

    Does Gemini CLI require API access?
  • by sergiotapia on 6/25/25, 7:49 PM

    Gemini CLI wanted to run `git log` and I accidentally hit "Yes, you can call git without confirmation" and I just realized the AI may decide to git push or something like that on it's own.

    How do I reset permissions so it always asks again for `git` invocations?

    Thanks!

  • by Keyframe on 6/25/25, 4:14 PM

    Hmm, with Claude code at $200+tax, this seems to be alternative which comes out at free or $299+tax a YEAR if I need more which is great. I found that buried at developers.google.com

    Gemini Pro and Claude play off of each other really well.

    Just started playing with Gemini CLI and one thing I miss immediately from Claude code is being able to write and interject as the AI does its work. Sometimes I interject by just saying stop, it stops and waits for more context or input or ai add something I forgot and it picks it up..

  • by incomingpain on 6/25/25, 5:20 PM

    Giving this a try, I'm rather astounded how effective my tests have gone.

    That's a ton of free limit. This has been immensely more successful than void ide.

  • by titusblair on 6/25/25, 1:59 PM

    Nice work excited to use it!
  • by jonnycoder on 6/25/25, 3:07 PM

    The plugin is getting bad reviews this morning. It doesn't work for me on latest Pycharm.
  • by khantsithu on 6/26/25, 12:27 PM

    google gonna win
  • by m3kw9 on 6/26/25, 3:11 AM

    So this is Claude code for Google. The cycle is complete.
  • by logicchains on 6/25/25, 4:40 PM

    That's giving a lot away for free! When I was using Gemini 2.5 Pro intensively for automated work and regularly hitting the 1000 requests per day limit, it could easily cost $50+ per day with a large context. I imagine after a couple months they'll probably limit the free offering to a cheaper model.
  • by revskill on 6/25/25, 2:46 PM

    Nice, at least i could get rid of the broken Warp CLI which prevents offline usage with their automatic cloud ai feature enabled.
  • by andrewstuart on 6/25/25, 2:00 PM

    I really wish these AI companies would STOP innovating until they work out how to let us “download all files” on the chat page.

    We are now three years into the AI revolution and they are still forcing us to copy and paste and click click crazy to get the damn files out.

    STOP innovating. STOP the features.

    Form a team of 500 of your best developers. Allocate a year and a billion dollar budget.

    Get all those Ai super scientists into the job.

    See if you can work out “download all files”. A problem on the scale of AGI or Dark Matter, but one day google or OpenAI will crack the problem.

  • by ape4 on 6/25/25, 1:55 PM

    In the screenshot it's asked about Gemini CLI and it says its going to search the web and read the README.md - what ever did we do before AI /s
  • by WhereIsTheTruth on 6/25/25, 7:37 PM

    typescript :facepalm:
  • by xyst on 6/25/25, 6:34 PM

    Google trying very hard to get people hooked on their product. Spending billions in marketing, product development, advertising.

    Not impressed. These companies have billions at their disposal, and probably pay $0 in tax, and the best they can come up with is this?

  • by stpedgwdgfhgdd on 6/25/25, 3:50 PM

    Another JS implementation…

    I do not get it why they don’t pick Go or Rust so i get a binary.

  • by rhodysurf on 6/25/25, 1:38 PM

    I neeeed this google login method in sst's opencode now haha
  • by i_love_retros on 6/25/25, 1:54 PM

    Boring. Any non llm news?
  • by stvnbn on 6/25/25, 8:12 PM

    Why do anyone build things for the console on javascript/typescript?
  • by syedumaircodes on 6/25/25, 7:18 PM

    I don't think I'll ever use tools like this, I know CLI is cool and all but I prefer a GUI always
  • by xgpyc2qp on 6/25/25, 8:42 PM

    Npx again ;-( Why are people continuously using it for cli applications?

    While writing this comment, thinking that there should be some packaging tool that would create a binaries from npx cli tools. I remember such things for python. Binaries were fat, but it is better then keep nodejs installed on my OS