☰ Menu
CLI Open source 78 installs/mo

gcc@12 for Mac

GNU compiler collection

In short: gcc@12 is a macOS command-line tool. Install it with brew install gcc@12. It is distributed under the GPL-3.0-or-later WITH GCC-exception-3.1 licence. Homebrew recorded 78 installs in the last 30 days.

What is gcc@12?

gcc@12 is a macOS command-line tool: GNU compiler collection.

It is distributed as a Homebrew formula, which builds or unpacks binaries onto your PATH. It is distributed under the GPL-3.0-or-later WITH GCC-exception-3.1 licence.

How to install gcc@12

  1. Open Terminal (press ⌘ + Space and type “Terminal”).
  2. If Homebrew is not installed, run the install command below first.
  3. Run brew install gcc@12.

Install Homebrew first if needed:

Prefer a graphical installer? Download it from the official website . This site never hosts or mirrors binaries: the Homebrew command always pulls from the vendor's own release.

Similar apps in Command-Line Tools

The closest apps in the same category, ranked by description similarity and installs. They are related tools, not confirmed drop-in replacements; see the hand-picked comparison pages for a head-to-head view.

Frequently asked questions

How do I install gcc@12 on a Mac?

Run brew install gcc@12 in Terminal. This requires Homebrew; install it first with the command below if needed.

Is gcc@12 open source?

Yes — Homebrew distributes it under the GPL-3.0-or-later WITH GCC-exception-3.1 licence.

Does gcc@12 run on Apple silicon?

Homebrew provides this formula for macOS. If upstream does not publish an Apple silicon build, Rosetta 2 can run the Intel binary.

How popular is gcc@12?

Homebrew analytics recorded 78 installs in the last 30 days, ranking it #3843 in this catalogue.

What version of gcc@12 is current?

The latest packaged version is 12.5.0.

Data comes from the public Homebrew API, last updated 2026-10-27. Install counts only include Homebrew installs and are not total users.

Leave a comment

Your email address will not be published. Required fields are marked *