← 返回命令列表

Linux command

nix-flake-show 命令

文本

复制后可按需替换文件名、目录或参数。

常用示例

Show flake outputs

nix flake show

Show remote flake

nix flake show [github:NixOS/nixpkgs]

Show as JSON

nix flake show --json

Show all systems

nix flake show --all-systems

说明

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

参数

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

FAQ

What is the nix-flake-show command used for?

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

How do I run a basic nix-flake-show example?

Run `nix flake show` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does --json do in nix-flake-show?

Output as JSON.