mirror of
https://github.com/NixOS/nix.git
synced 2025-12-03 07:31:00 +01:00
656 B
656 B
R""(
Examples
-
Add a package from Nixpkgs:
# nix profile add nixpkgs#hello -
Add a package from a specific branch of Nixpkgs:
# nix profile add nixpkgs/release-20.09#hello -
Add a package from a specific revision of Nixpkgs:
# nix profile add nixpkgs/d73407e8e6002646acfdef0e39ace088bacc83da#hello -
Add a specific output of a package:
# nix profile add nixpkgs#bash^man
Description
This command adds installables to a Nix profile.
Note
nix profile installis an alias fornix profile addin Determinate Nix.
)""