LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

nix-run

runs programs from Nix packages

TLDR

Run package from nixpkgs
$ nix run nixpkgs#[hello]
copy
Run from flake
$ nix run [.#default]
copy
Run with arguments
$ nix run nixpkgs#[cowsay] -- "[Hello]"
copy
Run from GitHub
$ nix run [github:owner/repo]
copy
Run specific app
$ nix run [.#apps.x86_64-linux.default]
copy

SYNOPSIS

nix run [options] installable [-- args]

DESCRIPTION

nix run runs programs from Nix packages. No installation required.The tool fetches and runs packages. Temporary execution without pollution.

PARAMETERS

INSTALLABLE

Flake reference to run.
ARGS
Arguments to pass to program.
--impure
Allow impure evaluation.
--help
Display help information.

INSTALL

nix profile install nixpkgs#nix-run
copy

CAVEATS

Requires flakes enabled. Downloads on first run. Network dependent.

HISTORY

nix run is part of the new Nix CLI for running packages without installation.

SEE ALSO

nix(1), nix-shell(1), nix-build(1)

Braincup
Open source brain training for math, memory and focus
Braincup mini-games
41 mini-games · Apache-2.0
No ads · No tracking
Play in browser
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid
276 stars
From the maker of Linux Command Library
Copied to clipboard
Braincup
Open source brain training for math, memory and focus. 41 mini-games, from mental arithmetic to Sudoku, N-Back and Solo Chess.
Apache-2.0 licensed · No ads · No tracking · No account
From the maker of Linux Command Library
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid