nushell (shells/nushell) Updated: 2 weeks, 2 days ago Add to my watchlist

A new type of shell

Nushell, or Nu for short, is a new shell that takes a modern, structured approach to your commandline. It works seamlessly with the data from your filesystem, operating system, and a growing number of file formats to make it easy to build powerful commandline pipelines.

Version: 0.117.0 License: MIT GitHub
Maintainers b4nst herbygillot
Categories shells
Homepage https://www.nushell.sh
Platforms darwin
Variants
  • formats (Build nu_plugin_formats (eml, ics, ini, plist, vcf))
  • gstat (Build nu_plugin_gstat (git status))
  • inc (Build nu_plugin_inc (increment values))
  • polars (Build nu_plugin_polars (dataframes; large and slow to build))
  • query (Build nu_plugin_query (json, web, xml queries))
  • universal (Build for multiple architectures)

"nushell" depends on

build (4)
lib (3)

Ports that depend on "nushell"

No ports


Port notes

To use Nu as your login shell:

1. Add ${prefix}/bin/nu to /etc/shells, then run:
chsh -s ${prefix}/bin/nu

2. A login shell does not inherit PATH from your current shell's rc files.
Quick start: to make Nu's login PATH match your current shell, run nu
from that shell, then run this inside nu:
let f = ($nu.default-config-dir | path join login.nu)
mkdir ($f | path dirname)
$"$env.PATH = ($env.PATH | to nuon)\n" | save --append $f
This is a snapshot; edit login.nu if your PATH changes later.

For proper configuration (config.nu, env.nu, login.nu), see
https://www.nushell.sh/book/configuration.html and
https://www.nushell.sh/book/configuration.html#configuring-nu-as-a-login-shell

Plugins installed by the plugin variants must be registered per user:
plugin add ${prefix}/bin/nu_plugin_<name>
plugin use <name>


Port Health:

Loading Port Health

Installations (30 days)

16

Requested Installations (30 days)

15