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

Widely used by the Nix community

From open source projects to established businesses.

Developers
18,020
Transferred last month
1.1 PB
Binary caches
11,955
serving Nix teams since
2018

Push once, use everywhere

Send builds to your cache from a laptop or CI, then let every other machine download them.

~/myproject

$  

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.

.github/workflows/build.yml
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

Ready to get started?

Get in touch or create an account.