Skip to content

Remove Intel macOS support from installer - #1140

Merged
MikeMcQuaid merged 1 commit into
mainfrom
remove-intel-macos-support
Sep 11, 2026
Merged

Remove Intel macOS support from installer#1140
MikeMcQuaid merged 1 commit into
mainfrom
remove-intel-macos-support

Conversation

@MikeMcQuaid

Copy link
Copy Markdown
Member
  • Homebrew on macOS is now Apple Silicon only, so abort on any other architecture before prompting for sudo and always install to /opt/homebrew, dropping the /usr/local prefix and its paths.d special case.
  • Apple Silicon Macs require macOS 11 or newer, so the checks for macOS 10.7, 10.11 and 10.13 and the version_gt helper were unreachable.
  • Point CI at /opt/homebrew/bin: the arm64 runners never used /usr/local.

- Homebrew on macOS is now Apple Silicon only, so abort on any other
  architecture before prompting for `sudo` and always install to
  `/opt/homebrew`, dropping the `/usr/local` prefix and its `paths.d`
  special case.
- Apple Silicon Macs require macOS 11 or newer, so the checks for
  macOS 10.7, 10.11 and 10.13 and the `version_gt` helper were
  unreachable.
- Point CI at `/opt/homebrew/bin`: the arm64 runners never used
  `/usr/local`.
Copilot AI balanced review requested due to automatic review settings September 4, 2026 16:06

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

馃煛 Changes recommended

The GITHUB_PATH entry must contain only /opt/homebrew/bin, not a colon-separated path list.

Once you've addressed the issues Copilot identified, you can request another Copilot review.

Pull request overview

Restricts macOS installation to Apple Silicon and removes obsolete Intel and legacy macOS logic.

Changes:

  • Reject unsupported macOS architectures before requesting sudo.
  • Standardize installation under /opt/homebrew.
  • Update CI for the Apple Silicon Homebrew path.
File summaries
File Description
install.sh Removes Intel macOS support and unreachable legacy checks.
.github/workflows/tests.yml Updates CI paths, but incorrectly writes a colon-separated path list to GITHUB_PATH.
Review details
  • Files reviewed: 2/2 changed files
  • Comments generated: 1
  • Review effort level: Balanced

馃挕 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread .github/workflows/tests.yml
@MikeMcQuaid
MikeMcQuaid marked this pull request as draft September 4, 2026 16:13
@MikeMcQuaid
MikeMcQuaid marked this pull request as ready for review September 11, 2026 07:10
@MikeMcQuaid
MikeMcQuaid merged commit fde1410 into main Sep 11, 2026
9 checks passed
@MikeMcQuaid
MikeMcQuaid deleted the remove-intel-macos-support branch September 11, 2026 07:10
@b3z

b3z commented Sep 11, 2026

Copy link
Copy Markdown

Is it still possible to run older versions or is there going to be a day when homebrew won't be usable on intel macs at all?

@MikeMcQuaid

Copy link
Copy Markdown
Member Author

@b3z It won't run at all in one year from now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants