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 add

flk add ripgrep
flk add ripgrep --version 15.1.0
flk add cargo-watch --profile backend
  • Checks the package exists with nix-versions before writing.
  • Writes to .flk/profiles/<profile>.nix. With --version, also records the pin in .flk/pins.nix.
  • If the package is already declared, the old entry is replaced, so adding with a different version changes the pin.