#repo #command #nucrab

bin+lib nucrab

A simple package manager for nushell. Compatible with nupm.

1 unstable release

Uses new Rust 2024

new 0.1.0 Apr 15, 2025

#46 in #repo

37 downloads per month

MIT and maybe CC-PDDC

27KB
260 lines

nucrab

A very simple package manager for nushell.

Nushell already has a package manager.

However, said package manager unfortunately cannot install from a remote - you need to clone the repo and then run your install script.

nucrab (very creative name, I know) changes that!

Backwards compatibility

Right now nucrab isn't fully backwards compatible with nupm.

Right now...

  • it only supports installing from a github repo
  • it only supports installing modules

However, from what I was able to see, most nupm packages use modules anyway. If requested I can add the other types as well.

Showcase

~> nucrab -h
Usage: nucrab.exe <COMMAND>

Commands:
  install    Install a package from a github repo
  uninstall  Uninstall a package
  list       List all installed packages
  help       Print this message or the help of the given subcommand(s)

Options:
  -h, --help     Print help
  -V, --version  Print version


~> nucrab install nushell/nupm
nupm has been installed (███████████████████████████████████████████████████████████████████████████████████████) 100%


~> nucrab list
- nupm

1 packages installed


~> nucrab uninstall nupm
uninstalling nupm...
nupm has been uninstalled


~> nucrab list

no packages installed

Dependencies

~31–64MB
~1M SLoC