Comment by runjake

Comment by runjake 2 days ago

2 replies

It's not perfect, but I like it fine. I definitely like it better than Fink and DarwinPorts, though those may be technically superior.

It's not super simple, but for your htop example, you could probably do something like the following:

  # Create a new tap
  brew tap-new $USER/local-tap

  # Extract the specific version you want
  brew extract --version=X.Y.Z htop $USER/local-tap

  # Install the extracted version
  brew install htop@X.Y.Z
I'm keeping an eye on the unofficial successor by the original author of Homebrew: https://pkgx.dev/
croemer a day ago

Thanks, that almost worked, needed the following (extra --force tap of core and link --overwrite)

  brew tap-new $USER/local-tap
  brew tap homebrew/core --force
  brew extract --version=3.3.0 htop $USER/local-tap
  brew install $USER/local-tap/cmake@3.3.0
  brew link --overwrite htop@3.3.0
Based mostly on https://www.ericbariaux.com/posts/brew_rollback/