Skip to content

A package-manager for nushell.

License

Notifications You must be signed in to change notification settings

Jan9103/packer.nu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

98 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Deprecation notice

What does deprecated mean here?

I will for the forseeable future keep this compatible with new nu versions, but

  • i wont add new features / packages.
  • when a alternative has properly matured i will archive this.
  • im no longer using it myself and therefore might not notice new bugs.

What now?

Suggestion:

  • New users: use a active alternative.
  • Old users: if packer does everything you need keep using it until it breaks or something else matures.
  • Package devs: use the nupm format.

Alternatives

Name Status nu versions Author Package format(s) Written in
packer.nu deprecated latest + recent jan9103 packer.nu nu-script
nupm experimental nightly nushell-team nupm nu-script
numng experimental latest + recent jan9103 numng, packer.nu (partial), nupm (partial) python
nuun test bed / abandoned ? kubouch nuun nu-script
NuPac archived 0.73.0 skelly37 nupac nu-script

Packer.nu (Main README)

A packer.nvim inspired package-manager for NuShell.

Newest officially supported NuShell version: 0.100.x

ℹ️ Please ensure to update nushell after packer supports the new version

Installation

Notice: It works on GNU/Linux and Windows, but macos and bsd are probably similar enough to work as well.

Install command: nu -c (http get https://raw.githubusercontent.com/jan9103/packer.nu/master/install.nu)

You have to reopen nu afterwards.

Basic Usage

Selecting and Configuring packages

ℹ️ A full documentation of the usage can be found in the wiki (GitHub, CodeBerg).

~/.config/nushell/packages.nuon contains your package list and packer-configuration.
A example config:

{
  packages: [
    # the config should specify packer.nu itself in order to allow automatic updates.
    {source: 'jan9103/packer.nu'}  # -> https://github.com/jan9103/packer.nu

    # any git-repository URI, which is not password protected should be supported
    {source: 'https://codeberg.org/packer.nu/bookmarks.git'}

    # you can also use local directories
    # this symlinks the directory and wont update it with `packer update`.
    {source: '~/code/my_packer_nu_plugin'}
  ]
}

To install new packages run packer install.

To update installed packages run packer update.

Links