nix-repl
starts interactive Nix shell
TLDR
Start Nix REPL
$ nix repl
Load nixpkgs$ nix repl '<nixpkgs>'
Load flake$ nix repl [.#]
Load file$ nix repl [file.nix]
SYNOPSIS
nix repl [options] [files]
DESCRIPTION
nix repl starts interactive Nix shell. Evaluate expressions interactively.
The tool provides tab completion. Load packages and explore attributes.
PARAMETERS
FILES
Nix files to load.--expr EXPR
Evaluate expression first.--help
Display help information.
CAVEATS
Part of Nix CLI. :? for help. Expression evaluation.
HISTORY
nix repl provides interactive evaluation for exploring and debugging Nix expressions.
SEE ALSO
nix(1), nix-eval(1), nix-instantiate(1)
