Skip to content
This repository has been archived by the owner on May 30, 2019. It is now read-only.

Latest commit

 

History

History
44 lines (35 loc) · 595 Bytes

ad-hoc.md

File metadata and controls

44 lines (35 loc) · 595 Bytes

Listing installed packages

nix-env -q

Listing available packages

nix-env -qaP

Installing packages

nix-env -iA nixpkgs.gitFull

Removing packages

nix-env -e git

(It's best you copy paste the name, which you got from nix-env -q)

Updating packages

First update your channel

nix-channel --update

See what's available

nix-env -qc

Update everything

nix-env -u --keep-going --leq

Show dependencies

nix-store --query --references\
  $(nix-instantiate '<nixpkgs>' -A emacs)