LinuxCommandLibrary

nu

nushell, a modern shell with structured data

TLDR

Start Nushell

$ nu
copy
Execute command
$ nu -c "[command]"
copy
Run script
$ nu [script.nu]
copy
List files as table
$ ls | where size > 1mb
copy
Parse JSON
$ open [file.json] | get [field]
copy

SYNOPSIS

nu [options] [script]

DESCRIPTION

nu is Nushell, a modern shell with structured data. Treats output as tables.
The shell uses pipelines of structured data. Inspired by PowerShell and functional languages.

PARAMETERS

SCRIPT

Nushell script to execute.
-c COMMAND
Execute command string.
--config FILE
Use configuration file.
--login
Start as login shell.
--help
Display help information.
--version
Display version.

CAVEATS

Different from POSIX shells. Learning curve for syntax. Growing ecosystem.

HISTORY

Nushell was created to bring structured data processing to the command line with modern features.

SEE ALSO

bash(1), zsh(1), fish(1), pwsh(1)

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community