Hacker News new | ask | show | jobs
by nine_k 55 days ago
"Alternative to homebrew (the CLI utility)" -> "Frontend to Homebrew (the package system)".

Along these lines, I wonder when somebody will come up with a "universal package manager" that factors out the dependency resolution, content-addressable store, packing / unpacking, file manipulation, signatures, etc. Small plugins, maybe just declarative descriptions, would suffice to connect it to stores like npm, homebrew, pypi, maybe even cargo and nixpkgs.

3 comments

We certainly have no shortage of "universal package managers". Most package managers try to do just that.
I can see how apt may be an "universal package manager" because Debian has everything, in several variations. But it only works a the Debian-style package database.

What I mean saying "universal" is an ability to adapt to any sane package database, among other things.

May I introduce you to the lord and savior Bazel (or CMake if Google gives you the ick)
Bazel (which I had a chance to know also as Blaze) is a might build tool. But can it install a local package for you, the way brew, nix, npm, or apt can? Blaze is famously hermetic.
it's called codex / claude code as far as i'm concerned
This solution is excessively generic, and cannot be deployed on-prem.