Skip to content

Installation

Shae edited this page Feb 1, 2023 · 3 revisions

Installing Packer.nu

OS compatibility

Packer.nu has been written on Linux (mostly debian and nixos based) devices. Standard GNU/Linux setups should therefore work best.

I currently am not able to test it on Windows or Darvin.

Dependencies

Required executables in the path:

Recommended executables:

  • RipGrep (rg)
  • GNU-coreutils: ln (ln) (currently required for local package sources)
  • Fd-find (fd)

Note: The packages have their own Dependencies and might need additional things.

Package names

program apt nixpkgs pacman
nushell (not packaged) nushell nushell
git git git git
ripgrep ripgrep ripgrep ripgrep
fd fd-find fd fd

Installig Packer.nu itself

  1. Open a NuShell instance
  2. nu -c (http get https://raw.githubusercontent.com/jan9103/packer.nu/master/install.nu)
    • prior to nu0.75: nu -c (fetch https://raw.githubusercontent.com/jan9103/packer.nu/master/install.nu)
  3. Reopen nu

Now you can install packages