| ▲ | varenc 7 hours ago |
| I found that strange as well. My guess is that `npm` is just the package manager people are most likely to already have installed and doing it this way makes it easy. They might think asking people to install Cargo is too much effort. Wonder if the pattern of using npm to install non-node tools will keep gaining traction. |
|
| ▲ | bigstrat2003 6 hours ago | parent | next [-] |
| Most people aren't going to have npm installed though. Nobody outside of web devs uses it. |
| |
| ▲ | patates 2 hours ago | parent | next [-] | | A lot of people who are not web devs use it, that's what I see. I even saw some mainframe developers use npx to call some tool on some data dump. Also, this is a web project anyway. Google Workspace is web based, so while there is a good chance that the users aren't web developers, it's a better chance that they have npm than anything else. In the case that they don't, releases can be downloaded directly too: https://github.com/googleworkspace/cli/releases | |
| ▲ | sankalpmukim 5 hours ago | parent | prev | next [-] | | "Most people" are webdevs Bracing for getting cancelled | |
| ▲ | gempir 2 hours ago | parent | prev [-] | | If you had to pick one package manager that was most likely installed across all the different user machines in the world, I'd say npm is a pretty good bet. |
|
|
| ▲ | freakynit 7 hours ago | parent | prev [-] |
| Why not just downloadable binary then? |
| |
| ▲ | varenc 7 hours ago | parent | next [-] | | 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. | | | |
| ▲ | patates 2 hours ago | parent | prev [-] | | They have them: https://github.com/googleworkspace/cli/releases |
|