gcc

Popular
Formula Development v16.2.0

GNU compiler collection

When to use

GNU compiler collection. Use gcc when you want a widely used development command-line package that can be installed and updated through Homebrew. It is one of FastBrew's top packages by Homebrew installs, with about 1.1M installs over the last year.

About

Install gcc on macOS with Homebrew Formula using `brew install gcc`. gcc is a Development command-line package with version 16.2.0. The package is listed in homebrew/core.

Install 1 App in Terminal
$
brew install gcc
Source: homebrew/core Website Homebrew

Dependencies

Build Dependencies

Official Homebrew Stats

Install activity metrics for gcc.

-4.7% vs 90d avg
30 Days
88.7K total installs
3.0K installs / day avg
90 Days
279.3K total installs
3.1K installs / day avg
1 Year
1.1M total installs
2.9K installs / day avg

Frequently asked questions

How do I install gcc with Homebrew?

Run brew install gcc in Terminal to install gcc as a Homebrew formula on macOS.

What kind of package is gcc?

gcc is a Development Homebrew formula and FastBrew currently shows version 16.2.0.

What should I review before installing gcc?

Review the runtime dependencies (gmp, isl, libmpc, mpfr, zstd) and build dependencies (make) along with any caveats before installing.

Related Development Apps

View all
Open openssl@3
openssl@3
Popular

Cryptography and SSL/TLS Toolkit

formula Development v3.6.3
Open ca-certificates
ca-certificates
Popular

Mozilla CA certificate store

formula Development v2026
Open sqlite
sqlite
Popular

Command-line interface for SQLite

formula Development v3.53.4
Open node
node
Popular

Open-source, cross-platform JavaScript runtime environment

formula Development v26.7.0
Open pcre2
pcre2
Popular

Perl compatible regular expressions library with a new API

formula Development v10.47
Open pkgconf
pkgconf
Popular

Package compiler and linker metadata toolkit

formula Development v3.0.5