jcode

Nix/NixOS builds of the jcode coding agent.

Install (flake)

# Run once without installing
nix run github:grigio/jcode

# Install into your profile
nix profile install github:grigio/jcode

Full step-by-step guide (cache setup, NixOS, upgrades, self-update gotcha): docs/install-nix.md.

NixOS

Add the flake as an input and put inputs.jcode.packages.${pkgs.system}.default in environment.systemPackages.

Binary cache

This site serves the signed Nix binary cache for the flake. The flake pins the latest upstream release tag and the release CI re-fills this cache after every build, so nix profile install github:grigio/jcode downloads instead of compiling. The cache includes the crane dependency layer (jcode-deps), so nothing is compiled from source. Configure it once:

mkdir -p ~/.config/nix
cat >> ~/.config/nix/nix.conf <<'EOF'
extra-substituters = https://grigio.github.io/jcode
extra-trusted-public-keys = grigio-jcode:WdqguwKdwOilH+ITvLO98qZy9x5HQ8Cl0xltHtSsUvQ=
EOF

On NixOS, use the equivalent nix.settings.substituters and nix.settings.trusted-public-keys.