Start a shell in which the specified packages are available. See also:
nix-shell
for setting up development environments,nix3 flake
for information about flakes. More information: https://nixos.org/manual/nix/stable/command-ref/new-cli/nix3-shell.html.
nixpkgs
:nix shell nixpkgs#pkg1 nixpkgs#packageSet.pkg2 ...
nixpkgs
(21.05):nix shell nixpkgs/nixos-21.05#pkg
nix shell -L
nix shell github:owner/repo#pkg
nix shell nixpkgs#pkg -c some-cmd --someflag 'Some other arguments'