Skip to content

Local Development

DevCell uses the repository flake for tools, checks, and site workflows.

Terminal window
nix develop
nix run .#check

Use nix flake check --allow-import-from-derivation for package, module, and image-manifest evaluation.

The Mac development path can validate Go code, protobuf generation, the public site, SQLite operations, Connect handlers, and the fake local backend.

It cannot validate Firecracker, KVM, TAP, vsock, Proxmox import, or CellOS boot.

Terminal window
nix develop -c go run ./cmd/celld --state /tmp/devcell.db

The fake backend reconstructs non-destroyed cells from SQLite when celld starts. Interrupted operations are conservatively marked failed during startup reconciliation.