Re:Ask HN: Best Alternative to Homebrew in 2021?
by geraneum on Tuesday November 02, 2021 @08:47AM
(#29080399)
For PostgreSQL on macOS I use and suggest https://postgresapp.com/ which is free and able to manage multiple Postgres major versions. It's also self-contained in a folder in /Applications. Also, version 14 of Postgres in the app has m1 native support.
[ Parent
| on HN ]
Re:Ask HN: Best Alternative to Homebrew in 2021?
by rbanffy on Tuesday November 02, 2021 @10:02AM
(#29081353)
For “infrastructure” apps like databases, caches, etc, I’ve been using Docker containers. Very easy to setup and tear down in a repeatable way. Unless I’m modifying the app itself, of course.
Re:Ask HN: Best Alternative to Homebrew in 2021?
by tarsinge on Tuesday November 02, 2021 @10:36AM
(#29081905)
For me it’s the only sane way to manage multiple small projects. A few lines in a docker compose file and I’m done, no matter the Postgres/Python/Ruby/Lib or framework version, everything is isolated and reproductible. Downside is gigabytes of RAM wasted.
Re:Ask HN: Best Alternative to Homebrew in 2021?
by brodouevencode on Tuesday November 02, 2021 @10:11AM
(#29081507)
Exactly. I have a few build tools on my machine but any service installed locally has been long gone. Even the apps I work on - I just have the code locally and compile/package it up for testing within a container, which resembles the actual production landing spot. No more "it works on my machine".