News for hackers. Stuff that matters.
Re:Googleworkspace/CLI by anilgulecha on Wednesday March 04, 2026 @09:32PM (#47256764)
No package manager is. But of the ones that are installed by users, npm is probably the most popular.
Re:Googleworkspace/CLI by spinagon on Wednesday March 04, 2026 @09:43PM (#47256844)
What about pip? It's either installed or immediately available on many OSes
Re:Googleworkspace/CLI by Fabricio20 on Wednesday March 04, 2026 @11:51PM (#47257706)
pip might be but it was historically super inconsistent (at least in my experience). Is it `pip install`? `python3 -m pip install`? maybe `pip3 install`? Yeah ubuntu did a lot of damage to pip here. npm always worked because you had to install it and it didnt have a transition phase from python2 being in the OS by default.
Re:Googleworkspace/CLI by jitl on Wednesday March 04, 2026 @10:30PM (#47257168)
system pip w/ sudo usually unleashes Zalgo, i’d rather curl | bash but npm is fine too. it’s just about meeting people where they’re at, and in the ai age many devs have npm

if you build for the web, no matter what your backend is (python, go, rust, java, c#), your frontend will almost certainly have some js, so likely you need npm.

Re:Googleworkspace/CLI by piperswe on Wednesday March 04, 2026 @09:50PM (#47256889)
`pip install` either doesn’t work out of the box or has the chance to clobber system files though
Re:Googleworkspace/CLI by nikanj on Wednesday March 04, 2026 @10:28PM (#47257158)
This is about eight years old. The python situation has mostly gotten worse since https://xkcd.com/1987/
Re:Googleworkspace/CLI by jitl on Wednesday March 04, 2026 @11:43PM (#47257673)
python packaging / envs is solved now by uv. its not promising or used by people in the know like the last 2 trendy python package managers. i was a big time python hater since it was a pita to support as a devtools guy but now its trivial. uv just works, it won.
Re:Googleworkspace/CLI by abustamam on Thursday March 05, 2026 @08:59AM (#47261622)
I'm not a python dev, but I see a bit of its ecosystem. How does uv compare with conda or venv? I thought JS had the monopoly on competing package managers.
Re:Googleworkspace/CLI by a_t48 on Wednesday March 04, 2026 @11:37PM (#47257635)
What? It’s much much better now, you can just use uv. Yeah, it’s yet another package manager, but it does it well.
Re:Googleworkspace/CLI by chrisweekly on Thursday March 05, 2026 @10:50AM (#47263055)
Or go up a rung or two on the abstraction ladder, and use mise to manage all the things (node, npm, python, etc).