LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

nix-flake-show

displays flake outputs

TLDR

Show flake outputs
$ nix flake show
copy
Show remote flake
$ nix flake show [github:NixOS/nixpkgs]
copy
Show as JSON
$ nix flake show --json
copy
Show all systems
$ nix flake show --all-systems
copy

SYNOPSIS

nix flake show [options] [flake-url]

DESCRIPTION

nix flake show displays flake outputs. Shows packages, apps, and devShells.The command lists available attributes. Tree view of flake structure.

PARAMETERS

FLAKE-URL

Flake reference.
--json
Output as JSON.
--all-systems
Show all system outputs.
--help
Display help information.

INSTALL

sudo apt install nix-bin
copy
sudo dnf install nix
copy
sudo pacman -S nix
copy
sudo apk add nix
copy
sudo zypper install nix
copy
nix profile install nixpkgs#nix
copy

CAVEATS

Flakes must be enabled. Evaluates flake. Network for remote flakes.

HISTORY

nix flake show is part of Nix flakes for inspecting flake output structure.

SEE ALSO

Copied to clipboard
Kai