LinuxCommandLibrary

nix3-shell

creates shells with packages

TLDR

Enter shell with package

$ nix3 shell nixpkgs#[hello]
copy
Shell with multiple packages
$ nix3 shell nixpkgs#[git] nixpkgs#[curl]
copy
Run command in shell
$ nix3 shell nixpkgs#[jq] --command [jq --version]
copy

SYNOPSIS

nix3 shell [options] installables

DESCRIPTION

nix3 shell creates shells with packages. Alternative to nix-shell -p.
The tool provides temporary environments. Packages available immediately.

PARAMETERS

INSTALLABLES

Packages to include.
--command CMD
Run command in shell.
--help
Display help information.

CAVEATS

Alias for nix shell. Flakes enabled. No permanent installation.

HISTORY

nix3 shell is part of the Nix 3.x CLI for ad-hoc development environments.

SEE ALSO

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community