# ccache をインストール

ccache のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

## インストール

```sh
sudo av install brew:ccache
```

追加のインストールコマンド:

### macOS

- Homebrew (100%):

```sh
brew install ccache
```

  証拠: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install ccache
```

  証拠: MacPorts ports tree: devel/ccache/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- apk (92%):

```sh
sudo apk add ccache
```

  証拠: Alpine Linux edge package indexes: ccache from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz

- Debian apt (92%):

```sh
sudo apt install ccache
```

  証拠: Debian stable package indexes: ccache from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- dnf (92%):

```sh
sudo dnf install ccache
```

  証拠: Fedora Rawhide package metadata: ccache from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/13ee7b80cb813542594d4235c4a0b8695435d5ecf23dd3580bc7515ae1b6180d-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#ccache
```

  証拠: nixpkgs package indexes: pkgs/by-name/cc/ccache/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- pacman (92%):

```sh
sudo pacman -S ccache
```

  証拠: Arch Linux sync databases: ccache from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

- zypper (92%):

```sh
sudo zypper install ccache
```

  証拠: openSUSE Tumbleweed package metadata: ccache from https://download.opensuse.org/tumbleweed/repo/oss/repodata/155b97171d05e27afd950b6fe0d55513ff38f4597110664535bceedc680bbe6fd459f0733718dcc21dcf0efc7c8250fd1390c73d4790b42e62fb2c16a87242e5-primary.xml.zst

### Windows

- Chocolatey (92%):

```sh
choco install ccache
```

  証拠: Chocolatey community package catalog: ccache from http://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='11','carbon'

- Scoop (92%):

```sh
scoop install main/ccache
```

  証拠: Scoop official bucket manifest trees: bucket/ccache.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1

- winget (92%):

```sh
winget install --id Ccache.Ccache -e
```

  証拠: Windows Package Manager source index: Ccache.Ccache from https://cdn.winget.microsoft.com/cache/source.msix

## パッケージ情報

- **パッケージキー:** brew:ccache
- **パッケージマネージャ:** Homebrew
- **パッケージマネージャページ:** <https://formulae.brew.sh/formula/ccache>
- **バージョン:** 4.13.6
- **ソース概要:** Object-file caching compiler wrapper
- **ホームページ:** <https://ccache.dev/>
- **リポジトリ:** <https://github.com/ccache/ccache>
- **上流ドキュメント:** <https://ccache.dev/>
- **ライセンス:** GPL-3.0-or-later
- **ソースアーカイブ:** <https://github.com/ccache/ccache/releases/download/v4.13.6/ccache-4.13.6.tar.xz>
- **更新:** 2026-05-04T21:06:41Z
- **生成ソース:** 2026-05-26T22:45:13+00:00

## 実行可能ファイル

- ccache (cli)
- ccache (エイリアス)

## 依存関係

- blake3
- fmt
- hiredis
- openssl@3
- xxhash
- zstd

## ビルド依存関係

- asciidoctor
- cmake
- cpp-httplib
- doctest
- pkgconf
- span-lite
- tl-expected

## インストール挙動

- post-install フック: 未定義
- 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.
- Bottle: 利用可能 対象 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## 鮮度

- ページ生成日: 2026-05-26
- マネージャ版: 4.13.6
- マネージャ更新日: 2026-05-04
- ローカルデータ: ok
- 上流リポジトリ: https://github.com/ccache/ccache
- info: No cached GitHub release or tag data was available.

## セキュリティノート

narrow executable package without higher-risk signals.

- **Geiger リスク:** green / low
- narrow executable package without higher-risk signals

## 関連リンク

- [openssl@3](https://www.automicvault.com/pkg/brew/openssl-3/) - Runtime dependency declared by Homebrew.
- [zstd](https://www.automicvault.com/pkg/brew/zstd/) - Runtime dependency declared by Homebrew.
- [fmt](https://www.automicvault.com/pkg/brew/fmt/) - Runtime dependency declared by Homebrew.
- [xxhash](https://www.automicvault.com/pkg/brew/xxhash/) - Runtime dependency declared by Homebrew.
- [blake3](https://www.automicvault.com/pkg/brew/blake3/) - Runtime dependency declared by Homebrew.
- [hiredis](https://www.automicvault.com/pkg/brew/hiredis/) - Runtime dependency declared by Homebrew.
- [pkgconf](https://www.automicvault.com/pkg/brew/pkgconf/) - Build dependency declared by Homebrew.
- [cmake](https://www.automicvault.com/pkg/brew/cmake/) - Build dependency declared by Homebrew.
- [asciidoctor](https://www.automicvault.com/pkg/brew/asciidoctor/) - Build dependency declared by Homebrew.
- [doctest](https://www.automicvault.com/pkg/brew/doctest/) - Build dependency declared by Homebrew.
- [nuitka](https://www.automicvault.com/pkg/brew/nuitka/) - Popular package that depends on this formula.
- [pyenv-ccache](https://www.automicvault.com/pkg/brew/pyenv-ccache/) - Popular package that depends on this formula.

## ソース

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- package version freshness
- package relationship graph
- cross-ecosystem install command graph
