flk add
flk add ripgrep
flk add ripgrep --version 15.1.0
flk add cargo-watch --profile backend
- Checks the package exists with
nix-versionsbefore 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.