News for hackers. Stuff that matters.
Re:Googleworkspace/CLI by varenc on Wednesday March 04, 2026 @09:56PM (#47256924)
For many, installing something with npm is still easier. It chooses the right binary for your OS/architecture, puts it on your PATH, and streamlines upgrades.

Their Github releases provides the binaries, as well as a `curl ... | sh` install method and a guide to use github releases attestation which I liked.

Re:Googleworkspace/CLI by freakynit on Wednesday March 04, 2026 @10:55PM (#47257342)
Hmm, that's right... thanks..
Re:Googleworkspace/CLI by krzyk on Thursday March 05, 2026 @09:09AM (#47261717)
I feel better with `curl ... | sh` than with npm.

npm suggests projects written in js, which is not something I'm comfortable.

It is nice to see that this is not JS, but Rust.

Re:Googleworkspace/CLI by varenc on Thursday March 05, 2026 @04:57PM (#47267870)
Agreed! The `curl ... | sh` is sketchy, but it's more obviously a security risk and easier to inspect. With install hooks, `npm install ...` also allows arbitrary code execution when you run it, but this is less obvious.