Interactive CLI for generating a Nix flake dev environment. It guides you through choosing a template, supported systems, and language-specific packages, then writes a flake.nix (and optionally a .envrc).
- Select a flake template (
baseorflake-parts) - Choose supported systems (Linux/macOS, Intel/ARM)
- Pick a language preset (currently Node.js) and package manager
- Optional
.envrccreation for direnv
Run the latest release (macOS/Linux):
curl -fsSL https://raw.githubusercontent.com/ShoeBoom/flake-init/main/run.sh | sh -s --Run from source:
bun install
bun run src/index.tsbun run start