Description
Our NixOS instructions currently recommend nix-env, which the NixOS package website discourages:
Warning: Using nix-env permanently modifies a local profile of installed packages. This must be updated and maintained by the user in the same way as with a traditional package manager, foregoing many of the benefits that make Nix uniquely powerful. Using nix-shell or a NixOS configuration is recommended instead.
Fix
We should recommend nix-shell -p gh for temporary use, then direct users to the NixOS package installation instructions for permanent installation.
Description
Our NixOS instructions currently recommend
nix-env, which the NixOS package website discourages:Fix
We should recommend
nix-shell -p ghfor temporary use, then direct users to the NixOS package installation instructions for permanent installation.