Live data from Hacker News

Google Workspace CLI

github.com

31–40 of 316 posts

Re: Google Workspace CLI

#33
post #26

I'm curious why `npm` is used to install a `rust` binary?

NPM as a cross platform package distribution system works really well.

The install script checks the OS and Arch, and pulls the right Rust binary.

Then, they get upgrade mechanism out of the box too, and an uninstall mechanism.

NPM has become the de facto standard for installing any software these days, because it is present on every OS.

Re: Google Workspace CLI

#35
post #26

I'm curious why `npm` is used to install a `rust` binary?

NPM as a cross platform package distribution system works really well. The install script checks the OS and Arch, and pulls the right Rust binary. Then, they get upgrade mechanism out of the box too, and an uninstall mechanism. NPM has become the de facto standard for installing any software these days, because it is present on every OS.

To my knowledge NPM isn't shipped in _any_ major OSes. It's available to install on all, just like most package managers, but I'm not sure it's in the default distributions of macOS, Windows, or the major Linux distros?

Re: Google Workspace CLI

#36

Earlier quoted context omitted.

NPM as a cross platform package distribution system works really well. The install script checks the OS and Arch, and pulls the right Rust binary. Then, they get upgrade mechanism out of the box too, and an uninstall mechanism. NPM has become the de facto standard for installing any software these days, because it is present on every OS.

To my knowledge NPM isn't shipped in _any_ major OSes. It's available to install on all, just like most package managers, but I'm not sure it's in the default distributions of macOS, Windows, or the major Linux distros?

No package manager is. But of the ones that are installed by users, npm is probably the most popular.

Re: Google Workspace CLI

#39

Earlier quoted context omitted.

To my knowledge NPM isn't shipped in _any_ major OSes. It's available to install on all, just like most package managers, but I'm not sure it's in the default distributions of macOS, Windows, or the major Linux distros?

No package manager is. But of the ones that are installed by users, npm is probably the most popular.

[deleted]

Re: Google Workspace CLI

#40

Earlier quoted context omitted.

To my knowledge NPM isn't shipped in _any_ major OSes. It's available to install on all, just like most package managers, but I'm not sure it's in the default distributions of macOS, Windows, or the major Linux distros?

No package manager is. But of the ones that are installed by users, npm is probably the most popular.

What about pip? It's either installed or immediately available on many OSes
Post reply on HN