nix-shell
TLDR
Enter shell with package
SYNOPSIS
nix-shell [options] [path]
DESCRIPTION
nix-shell creates temporary development environments. Provides packages without installing.
The tool sets up shell with dependencies. Exits cleanly without system changes.
nix-shell creates dev environments.
PARAMETERS
PATH
Nix expression file.-p PACKAGES
Packages to include.--run CMD
Command to execute.--pure
Clear environment.-A ATTR
Use specific attribute.--help
Display help information.
CAVEATS
Legacy command. Consider nix develop. Per-invocation environment.
HISTORY
nix-shell is a core Nix command for creating temporary development shells.
SEE ALSO
nix-develop(1), nix(1), direnv(1)
