Never build software twice.
Cachix stores every Nix build once, so your engineers, CI pipelines and AI agents download it in seconds instead of rebuilding it.
No per-seat fees · Hosted in the EU or on your own infrastructure
Push once, use everywhere
Send builds to your cache from a laptop or CI, then let every other machine download them.
$ ✓
$
Pushing needs a token from your cache settings: cachix authtoken TOKEN
Everything you need to share binaries
Set up your Nix infrastructure in a few minutes and avoid maintenance work.
-
Garbage collection
When your cache reaches its storage limit, the least recently used entries are removed.
-
Access management
Give team members read or write access to a cache. Revoke their tokens at any time.
- New
Upstream caches
Pick caches like cache.nixos.org or nix-community. Paths they already have are never uploaded to yours.
-
Fast
A number of optimizations speed up every round trip to the binary cache.
-
Content delivery network
Cloudflare CDN serves your binaries fast, with unlimited bandwidth on all plans.
-
Continuous integration guides
Learn how to set up Cachix with your CI and start sharing binaries.
Cache every CI run
Each CI job pushes what it builds. The next job downloads it instead of building it again.
name: Build
on: push
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v7
- uses: cachix/install-nix-action@v32
- uses: cachix/cachix-action@v17
with:
name: mycache
authToken: ${{ secrets.CACHIX_AUTH_TOKEN }} - run: nix build