LinuxCommandLibrary

nix-flake-info

shows flake metadata

TLDR

Show flake info

$ nix flake info
copy
Show remote flake info
$ nix flake info [github:NixOS/nixpkgs]
copy
Show info as JSON
$ nix flake info --json
copy

SYNOPSIS

nix flake info [options] [flake-url]

DESCRIPTION

nix flake info shows flake metadata. Displays inputs and description.
The command shows flake URL. Lists locked inputs and revisions.

PARAMETERS

FLAKE-URL

Flake reference URL.
--json
Output as JSON.
--help
Display help information.

CAVEATS

Renamed to metadata in newer versions. Flakes must be enabled. Network for remote.

HISTORY

nix flake info was part of early flakes implementation, now superseded by metadata.

SEE ALSO

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community