>_ linuxcommand.dev
Startseite nix-shell
Development

nix-shell

Open a shell with dependencies from a Nix expression or flake.

Last updated: Report error
Syntax
$nix-shell [OPTIONS] [FILE]
Examples
Examples
$nix-shell
Examples
$nix-shell -p python310
Examples
$nix-shell shell.nix
Typical use cases
Ad-hoc tools
nix-shell -p gcc gdb
From default.nix
nix-shell
From flake
nix shell nixpkgs#hello
Note Starts a shell with defined dependencies. For reproducible development environments.
Export