macOS
brew install ccachelocal Homebrew formula metadata
sudo port install ccacheMacPorts ports tree · devel/ccache/Portfile · source: api.github.com
brew
Object-file caching compiler wrapper. Version 4.13.6 via Homebrew; verified 2026-06-06.
install
brew install ccachelocal Homebrew formula metadata
sudo port install ccacheMacPorts ports tree · devel/ccache/Portfile · source: api.github.com
sudo apk add ccacheAlpine Linux edge package indexes · ccache · source: dl-cdn.alpinelinux.org
sudo apt install ccacheDebian stable package indexes · ccache · source: deb.debian.org
sudo dnf install ccacheFedora Rawhide package metadata · ccache · source: dl.fedoraproject.org
nix profile install nixpkgs#ccachenixpkgs package indexes · pkgs/by-name/cc/ccache/package.nix · source: api.github.com
sudo pacman -S ccacheArch Linux sync databases · ccache · source: geo.mirror.pkgbuild.com
sudo zypper install ccacheopenSUSE Tumbleweed package metadata · ccache · source: download.opensuse.org
choco install ccacheChocolatey community package catalog · ccache · source: community.chocolatey.org
scoop install main/ccacheScoop official bucket manifest trees · bucket/ccache.json · source: api.github.com
winget install --id Ccache.Ccache -eWindows Package Manager source index · Ccache.Ccache · source: cdn.winget.microsoft.com
overview
Object-file caching compiler wrapper
history
Ccache is a compiler cache that speeds up recompilation by caching prior compilations and detecting when the same compilation is being done again.
The official credits page says ccache was originally written by Andrew Tridgell, inspired by Erik Thiele's compilercache shell script, and has been developed and maintained by Joel Rosdahl since 2010.
The official site presents ccache as a cross-platform build accelerator supporting GCC, Clang, MSVC, and similar compilers on Linux, Windows, macOS, and other Unix-like systems. The supplied package facts show broad package-manager availability, including Homebrew, Debian, Fedora, Nix, MacPorts, Chocolatey, Scoop, winget, Alpine, Arch, Ubuntu, and zypper.
Ccache is used by developers and build farms to speed repeated clean builds, branch builds, and shared compilation servers. The manual documents command modes, statistics, automatic cleanup, local and remote storage, cache-specific and directory-specific configuration files, environment variables, and direct/depend modes.
Few developer packages are as visibly package-manager-adjacent as ccache: it is commonly installed globally, inserted ahead of compilers in PATH or build-system variables, and tuned through predictable config files and environment variables. It is also a useful packaging stress test because it wraps many compilers while trying to preserve exact compiler output.
security posture
narrow executable package without higher-risk signals.
green risk · low confidence · appliance
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
local files
These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.
Config paths the tool may read or write during local use.
$CCACHE_CONFIGPATH$CCACHE_DIR/ccache.conf<cache_dir>/ccache.conf~/.ccache/ccache.conf$XDG_CONFIG_HOME/ccache/ccache.conf~/.config/ccache/ccache.conf$CCACHE_CONFIGPATH$CCACHE_DIR/ccache.conf<cache_dir>/ccache.conf~/.ccache/ccache.conf$XDG_CONFIG_HOME/ccache/ccache.conf~/Library/Preferences/ccache/ccache.conf%CCACHE_CONFIGPATH%%CCACHE_DIR%/ccache.conf<cache_dir>\ccache.conf%USERPROFILE%\.ccache\ccache.conf%LOCALAPPDATA%\ccache\ccache.conf%APPDATA%\ccache\ccache.confexecutables
| Command | Kind | Exposure | Note |
|---|---|---|---|
ccache | cli | global executable |
freshness
These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.
https://github.com/ccache/ccache
install metadata
| Package key | brew:ccache |
|---|---|
| Version | 4.13.6 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/ccache |
| Homepage | https://ccache.dev/ |
| Repository | https://github.com/ccache/ccache |
| Upstream docs | https://ccache.dev/documentation.html |
| License | GPL-3.0-or-later |
| Source archive | https://github.com/ccache/ccache/releases/download/v4.13.6/ccache-4.13.6.tar.xz |
| Last updated | 2026-06-06T10:04:21Z |
| Pulse | updated |
| Dependencies | blake3, fmt, hiredis, openssl@3, xxhash, zstd |
| Build dependencies | asciidoctor, cmake, cpp-httplib, doctest, pkgconf, span-lite, tl-expected |
| Bottle | available (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | none declared |
| Caveats | 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. |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | ccache |
| Version Scheme | 0 |
| Revision | 1 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
ccache 4.11.2-2
Compiler cache for fast recompilation of C/C++ code
sudo apt install ccacheccache
nix profile install nixpkgs#ccacheccache 4.9.1-1
Compiler cache for fast recompilation of C/C++ code
sudo apt install ccacheccache 4.13.6-r0
fast C/C++ compiler cache
sudo apk add ccacheccache-doc 4.13.6-r0
fast C/C++ compiler cache (documentation)
sudo apk add ccache-docccache 4.13.6-1.fc45
C/C++ compiler cache
sudo dnf install ccacheccache 4.13.6-1
Compiler cache that speeds up recompilation by caching previous compilations
sudo pacman -S ccacheccache 4.13.6-1.1
A Fast C/C++ Compiler Cache
sudo zypper install ccacheccache
sudo port install ccacheccache
choco install ccachemain/ccache
scoop install main/ccacheCcache.Ccache
winget install --id Ccache.Ccache -esource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.