← 返回命令列表

Linux command

nix3-run 命令

文本

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

常用示例

Run package

nix3 run nixpkgs#[hello]

Run from flake

nix3 run [.#default]

Run with args

nix3 run nixpkgs#[cowsay] -- "[text]"

说明

nix3 run executes packages without installing. Alternative name for nix run. The tool runs programs temporarily. Downloads and executes from store.

参数

--help
Display help information.

FAQ

What is the nix3-run command used for?

nix3 run executes packages without installing. Alternative name for nix run. The tool runs programs temporarily. Downloads and executes from store.

How do I run a basic nix3-run example?

Run `nix3 run nixpkgs#[hello]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does --help do in nix3-run?

Display help information.