Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

flk init

flk init                   # detect the project type
flk init --template rust   # rust, python, node, go, generic
flk init --force           # overwrite an existing flake.nix
flk init --legacy          # old in-repo layout

Writes flake.nix, .flk/config.nix, .flk/pins.nix, .flk/profiles/<type>.nix and .flk/.gitignore. flk owns .flk/.gitignore and overwrites it; flk migrate writes it for existing projects. Detection rules are in Project Templates.