SCCACHE(1)

πŸ’– SCCACHE πŸ’–

okay bestie, pull up a chair because sccache is literally about to change your whole build-life. it's a fast C/C++/Rust compiler cache β€” that's the whole name, that's the whole vibe. you compile the same file twice, it does the work once and serves you the leftovers like a good little meal-prep queen. no cap. πŸ¦‹


✨ SYNOPSIS ✨

sccache [OPTIONS] <--dist-auth|--debug-preprocessor-cache|--dist-status|--show-stats|--show-adv-stats|--start-server|--stop-server|--zero-stats|--package-toolchain <EXE> <OUT>|CMD>

so basically: you give it [OPTIONS], and then you pick exactly one of those big-girl flags β€” --dist-auth, --debug-preprocessor-cache, --dist-status, --show-stats, --show-adv-stats, --start-server, --stop-server, --zero-stats, --package-toolchain <EXE> <OUT>, or just a plain CMD. the angle brackets are giving "choose wisely" energy. πŸ’…


🌸 DESCRIPTION 🌸

Arguments:

  • [CMD]... β€” the command(s) you wanna hand over. totally optional, and it's a whole list, so bring friends. 🫢

πŸ‘‘ OPTIONS πŸ‘‘

every flag, every crumb, nothing skipped. bestie I got you. πŸ’œ

  • -s, --show-stats β€” show cache statistics. receipts, but for your build. ✨
  • --show-adv-stats β€” show advanced cache statistics. the deluxe version, the director's cut. πŸ”₯
  • --start-server β€” start the background server. wake her up, she's been napping. 😴
  • --debug-preprocessor-cache β€” show all preprocessor cache entries. every single one. yes, ALL of them. πŸ’€
  • --stop-server β€” stop the background server. nap time again, queen. πŸŽ€
  • -z, --zero-stats β€” zero statistics counters. hit reset, we're starting a fresh era. 🌈
  • --dist-auth β€” authenticate for distributed compilation. gotta get your badge scanned before you enter the club. πŸͺ©
  • --dist-status β€” show status of the distributed client. how's the remote squad doing? πŸ’…
  • --package-toolchain <EXE> <OUT> β€” package toolchain for distributed compilation. wrap up <EXE>, drop it off at <OUT>, ship it. πŸ“¦
  • --stats-format <FMT> β€” set output format of statistics. default is text, and the possible values are text and json. pick your fighter. πŸ“
  • -h, --help β€” Print help. classic. iconic. 🧚
  • -V, --version β€” Print version. the "who even are you" button. ⭐

Enabled features:

yeah she came fully loaded, no add-ons needed. all of these are true:

  • S3: true
  • Redis: true
  • Memcached: true
  • GCS: true
  • GHA: true
  • Azure: true
  • WebDAV: true
  • OSS: true
  • COS: true

every backend said yes. ate and left zero crumbs. ✨


okay that's the whole page, you're officially sccache-pilled bestie, go cache something and feel unbothered. πŸ’–

this one's from sccache 0.17.0, dated August 2026 β€” love that for us. mwah, bye! 😭🫢

πŸ“¦ where this page comes from