Skip to content

ccache

Popular
Formula Development v4.13.6

Object-file caching compiler wrapper

About

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

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

Dependencies

Build Dependencies

Installation Notes

To install symlinks for compilers that will automatically use
ccache, prepend this directory to your PATH:
  $HOMEBREW_PREFIX/opt/ccache/libexec

If this is an upgrade and you have previously added the symlinks to
your PATH, you may need to modify it to the path specified above so
it points to the current version.

NOTE: ccache can prevent some software from compiling.
ALSO NOTE: The brew command, by design, will never use ccache.

Official Homebrew Stats

Install activity metrics for ccache.

-17.6% vs 90d avg
30 Days
17.1K total installs
570 installs / day avg
90 Days
62.3K total installs
692 installs / day avg
1 Year
295.3K total installs
809 installs / day avg

Frequently asked questions

How do I install ccache with Homebrew?

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

What kind of package is ccache?

ccache is a Development Homebrew formula and FastBrew currently shows version 4.13.6.

What should I review before installing ccache?

Review the runtime dependencies (blake3, fmt, hiredis, openssl@3, xxhash, zstd) and build dependencies (asciidoctor, cmake, cpp-httplib, doctest, pkgconf, span-lite, tl-expected) 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.5.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.4
X