Installation
Prerequisites
Section titled “Prerequisites”- Nushell 0.110.0+ — the module uses features from recent Nushell releases
ghCLI — GitHub’s official CLI, used for API accessnu_plugin_polars(optional) — only needed for--dataframe/--lazyframeoutput
Install the module
Section titled “Install the module”-
Clone the repository into your Nushell modules directory:
Terminal window git clone https://github.com/danielbodnar/stars.nu ~/.config/nushell/modules/starsOr wherever you keep Nushell modules. The path just needs to be accessible via
use. -
Authenticate with GitHub using the
ghCLI:Terminal window gh auth loginFollow the prompts to authenticate. The module uses
gh apiunder the hood, so it inherits yourghauthentication. -
Load the module in your Nushell session:
Terminal window use ~/.config/nushell/modules/stars *To load it automatically, add that line to your
config.nuorenv.nu.
Optional: Polars plugin
Section titled “Optional: Polars plugin”For DataFrame/LazyFrame output (used with --dataframe and --lazyframe flags):
cargo install nu_plugin_polarsplugin add ~/.cargo/bin/nu_plugin_polarsAfter installing, restart Nushell or run plugin use polars.
Verify installation
Section titled “Verify installation”stars versionYou should see output like:
╭─────────┬────────────────╮│ version │ 3.0.0 ││ nushell │ 0.110.0 ││ polars │ not installed │╰─────────┴────────────────╯