-
Notifications
You must be signed in to change notification settings - Fork 19
Closed
Labels
Description
⚠️ Work In Progress ⚠️
projects to check out
kubouch/nuun: Nushell Package Manager Explorationamtoine/nupm: A manager for Nushell packages.cargo: The Rust package managerrustup: The Rust toolchain installernupac/nupac: Nu package manager written entirely in nu & for nu
🏃 bootstrap (rustup)
Note
see a prototype here
- install Nushell without any other requirement -> POSIX compliant /
bashbootstrap? - install
nupmitself -> see theamtoine/nupmbootstrap - change the version of Nushell with overlays ->
kubouch/nuun
🔧 commands to have
-
nupm new [--script] [--module]: create a new local package with template files (kubouch/nuun) -
nupm init: initialize an existing local package (kubouch/nuun) -
nupm test [--module] [--workspace]: run unit and integration tests of local package
`---> i think thestd run-testscommand just be pulled out of the standard library of Nushell - inspired by
cargo-
nupm install: ... (different ways of doing this inamtoine/nupmandkubouch/nuun) -
nupm uninstall: ... -
nupm update: ... (prototype inamtoine/nupm) -
nupm bench: ... -
nupm search: ... -
nupm publish: ... -
nupm doc: ...
-
🍬 other nice things to have
- install plugins
- have a centralized list of official and community packages to
- pull them with
nupm install - search them with
nupm search
- pull them with
💡 concepts to have in mind
- activations from
amtoine/nupm: ... - overlays from
kubouch/nuun: ... - require the least amount of user manual intervention
`---> required things might be- using the CLI of
nupmof course - bootstrapping
- (optional) setting
NUPM_HOMEto change the location of all files (and be XDG-compliant imo) - adding a path to
PATH - adding a path to
NU_LIB_DIRS - adding at least one
useoroverlay useto bring some commands and modules to the startup scope of the shell
- using the CLI of
- how do we configure
nupm- config file?
- environment variables?
- both?
tombh