Skip to content

Instantly share code, notes, and snippets.

View IgnacioAgustinCabral's full-sized avatar
🐙

Ignacio Agustin Cabral IgnacioAgustinCabral

🐙
View GitHub Profile
@nickcernis
nickcernis / old-version-homebrew.md
Last active March 4, 2024 23:49
Install an old version with homebrew for macOS
  1. Find the formula for the version you want to install:

    • Visit https://github.com/Homebrew/homebrew-core/tree/master/Formula
    • Click the file with your formula (e.g. “composer.rb”)
    • Click “History” (top right)
    • Click the commit hash for the version you want to download
    • Click the three dots (top right of diff) and choose “view file”
    • Click “Raw” and copy the raw URL from the browser address bar.

    For example, composer 1.10.15 lives here: https://github.com/Homebrew/homebrew-core/blob/9e6e6a1ca8551901bff69d329c7fbb9007064134/Formula/composer.rb