nix-develop
enters a development shell
TLDR
Enter development shell
$ nix develop
Develop with flake$ nix develop [path/to/flake]
Run command in shell$ nix develop --command [bash -c "make"]
Develop specific output$ nix develop [.#devShells.default]
Develop with impure$ nix develop --impure
Build first$ nix develop --build
SYNOPSIS
nix develop [options] [installable]
DESCRIPTION
nix develop enters a development shell. It provides build dependencies.
The tool sets up environment variables. Based on flake devShell or shell.nix.
PARAMETERS
INSTALLABLE
Flake reference or path.--command CMD
Run command in shell.--impure
Allow impure evaluation.--build
Build before entering.--help
Display help information.
CAVEATS
Requires flakes enabled. Or shell.nix compatibility. Environment isolation.
HISTORY
nix develop is part of Nix 2.4+ flakes, providing reproducible development environments.
