Package Management

Install development tools using Nix packages. Packages are installed at the host level and shared across workspaces.

Quick start

kl pkg add                   # Interactive mode
kl pkg add nodejs python     # Add multiple packages
kl pkg list                  # List installed

Commands

Search packages

kl pkg search nodejs

Search the Nix package registry for available packages.

Add packages

kl pkg add                   # Interactive with fuzzy search
kl pkg add git vim curl      # Add by name
kl pkg add nodejs --exact    # Pin to exact version

Install with version control

Specify exact versions, channels, or commits for reproducibility.

kl pkg install nodejs --version 20.0.0
kl pkg install python --channel nixos-24.05
kl pkg install curl --commit abc123def

List installed

kl pkg list

Shows packages with their source and status.

Remove package

kl pkg uninstall vim

Removes from your workspace config only.