Live data from Hacker News

Gemini CLI

blog.google

61–70 of 820 posts

Re: Gemini CLI

#61

Earlier quoted context omitted.

Looks like you could make a standalone executable with Bun and/or Deno: https://bun.sh/docs/bundler/executables https://docs.deno.com/runtime/reference/cli/compile/ Note, I haven't checked that this actually works, although if it's straightforward Node code without any weird extensions it should work in Bun at least. I'd be curious to see how the exe size compares to Go and Rust!

Yeah, this just seems like a pain in the ass that could've been easily avoided.

It feels like you are creating a considerable fraction of the pain by taking offense with simply using npm.

Re: Gemini CLI

#62
post #54

Earlier quoted context omitted.

This isn't about quality products, it's about being able to say you have a CLI tool because the other ai companies have one

Fast following is a reasonable strategy. Anthropic provided the existence proof. It’s an immensely useful form factor for AI.

Yeah, it would be absurd to avoid a course of action proven productive by a competitor.

Re: Gemini CLI

#63
post #52
post #41

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.

Hi, Thanks for this work. currently it seems these are the CLI tools available. Is it possible to extend or actually disable some of these tools (for various reasons)? > Available Gemini CLI tools: - ReadFolder - ReadFile - SearchText - FindFiles - Edit - WriteFile - WebFetch - ReadManyFiles - Shell - Save Memory - GoogleSearch

I had to ask Gemini CLI to remind myself ;) but you can add this into settings.json:

{ "excludeTools": ["run_shell_command", "write_file"] }

but if you ask Gemini CLI to do this it'll guide you!

Re: Gemini CLI

#64
post #41

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.

So, as a member of an organization who pays for google workspace with gemini, I get the message `GOOGLE_CLOUD_PROJECT environment variable not found. Add that to your .env and try again, no reload needed!` At the very least, we need better documentation on how to get that environment variable, as we are not on GCP and this is not immediately obvious how to do so. At the worst, it means that your users paying for gemi…

https://github.com/google-gemini/gemini-cli/blob/main/docs/c...

Re: Gemini CLI

#65
post #32
post #8

Earlier quoted context omitted.

They sent you swag in the mail? How did that work?

Yeah, I'm not sure if it's still there (their source code is increasingly obfuscated) but if you check out the source for the first public version (0.2.9) you'll see the following: Sends the user swag stickers with love from Anthropic.",bq2=`This tool should be used whenever a user expresses interest in receiving Anthropic or Claude stickers, swag, or merchandise. When triggered, it will display a shipping form for t…

Just tried it. Doesn't work anymore.

Re: Gemini CLI

#66
post #41

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.

it would be cool to work with my google ai pro sub

Re: Gemini CLI

#67

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!

Actually, that's the reason a lot of startups and solo developers prefer non-Google solutions, even though the quality of Gemini 2.5 Pro is insanely high. The Google Cloud Dashboard is a mess, and they haven't fixed it in years. They have Vertex that is supposed to host some of their models, but I don't understand what's the difference between that and their own cloud. And then you have two different APIs depending on the level of your project: This is literally the opposite of what we would expect from an AI provider where you start small and regardless of the scale of your project, you do not face obstacles. So essentially, Google has built an API solution that does not scale because as soon as your project gets bigger, you have to switch from the Google AI Studio API to the Vertex API. And I find it ridiculous because their OpenAI compatible API does not work all the time. And a lot of tools that rely on that actually don't work.

Google's AI offerings that should be simplified/consolidated:

- Jules vs Gemini CLI?

- Vertex API (requires a Google Cloud Account) vs Google AI Studio API

Also, since Vertex depends on Google Cloud, projects get more complicated because you have to modify these in your app [1]:

``` # Replace the `GOOGLE_CLOUD_PROJECT` and `GOOGLE_CLOUD_LOCATION` values # with appropriate values for your project. export GOOGLE_CLOUD_PROJECT=GOOGLE_CLOUD_PROJECT export GOOGLE_CLOUD_LOCATION=global export GOOGLE_GENAI_USE_VERTEXAI=True ```

[1]: https://cloud.google.com/vertex-ai/generative-ai/docs/start/...

Re: Gemini CLI

#68
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.)

Re: Gemini CLI

#69

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.

This isn't about quality products, it's about being able to say you have a CLI tool because the other ai companies have one

> This isn't about quality products, it's about being able to say you have a CLI tool because the other ai companies have one

Anthropic's Claude Code is also installed using npm/npx.

Re: Gemini CLI

#70
post #43

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.

Projects like this have to update frequently, having a mechanism like npm or pip or whatever to automatically handle that is probably easier. It's not like the program is doing heavy lifting anyway, unless you're committing outright programming felonies there shouldn't be any issues on modern hardware. It's the only argument I can think of, something like Go would be goated for this use case in principle.

I feel like Cargo or Go Modules can absolutely do the same thing as the mess of build scripts they have in this repo perfectly well and arguably better.
Post reply on HN