←back to thread

Gemini CLI

(blog.google)
1336 points sync | 1 comments | | HN request time: 0.257s | source
Show context
ZeroCool2u ◴[] No.44377226[source]
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.
replies(12): >>44377273 #>>44377286 #>>44377337 #>>44377341 #>>44377366 #>>44377649 #>>44377914 #>>44378962 #>>44380417 #>>44382222 #>>44384234 #>>44384426 #
iainmerrick ◴[] No.44377273[source]
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!

replies(4): >>44377313 #>>44377346 #>>44377642 #>>44377877 #
tln ◴[] No.44377877[source]
A Bun "hello world" is 58Mb

Claude also requires npm, FWIW.

replies(3): >>44378808 #>>44379106 #>>44380433 #
1. quotemstr ◴[] No.44380433[source]
> A Bun "hello world" is 58Mb

I've forgotten how to count that low.