commands.sh

nix flake

all

Manage Nix flakes. Some subcommands such as `init`, `show`, `info` have their own usage documentation.

More info →

Examples (5)

Update all inputs (dependencies) of the flake in the current directory

nix flake update

Update a specific input (dependency) of the flake in the current directory

nix flake update input

Clone a GitHub repository containing a flake

nix flake clone github:owner/repo#attributes

Create missing lock file entries for a flake in a specified directory

nix flake lock path/to/flake

Display help

nix flake --help
made by @shridhargupta | data from tldr-pages