NPM does a great job of distribiting development dependencies and Node.js applications.
It's not really intended for non-js binary builds and platform-specific dependencies.
You can always use NPM to install directly from specific repo release but you'll still have to have to include a native compile-to-platform step somewhere.
> Can install software to a home directory and so does not require sudo
> Install software not packaged by the native distribution
> Install up-to-date versions of software when the native distribution is old
> Use the same package manager to manage both your Mac and Linux machines
From the "Features" section of the Github.It could also likely be used so make a "safe" Linux distro, where the base system is mounted read only, with a writable home partition.
In my experience, cask is too fragile for its original use of installing binaries. Issues include
* applications expecting to be installed to /Applications
* applications with weird installation requirements/dependencies
* self-updater conflicting with cask's installation settings
* problems with detecting an installation (and uninstalling it) because the updated version's recipe installs differently or something.
For these reasons I now prefer to install applications by their official/expected/supported installation method.
On the other hand, I find brew very useful.
Absolutely. I adore Homebrew and it's ecosystem. Cask, in particular, is quite satisfying; gotta love installing a swath of neccessary fonts from the terminal. And, fwiw, the project is about to be on Homebrew, with no tap required: https://github.com/Homebrew/homebrew/pull/49040 Though getting it up was not quite as pain-free than our initial publishes to NPM.
The thing is: Homebrew solves the problem for just a portion of your audience. In diff-so-fancy's case, we've supported Linux and Windows from the get-go, the only hard part is getting it installed. NPM solves that problem really well, and I can't imagine any other installation technique being our recommendation for Windows/Linux going forward.