LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

nushell

Modern shell that treats data as structured information

TLDR

Start the shell
$ nu
copy
Run a command string and exit
$ nu -c "[command]"
copy
Run a script file
$ nu [path/to/script.nu]
copy
Start as a login shell
$ nu --login
copy
Start without loading config files
$ nu -n
copy
List files as structured data (inside nu)
$ ls | where size > 1mb | sort-by modified
copy
Convert JSON to a table (inside nu)
$ open [data.json] | select name age | sort-by age
copy

SYNOPSIS

nu [options] [script]

DESCRIPTION

nushell (command: nu) is a modern shell that treats data as structured information rather than plain text. It brings spreadsheet-like data manipulation to the command line with built-in support for JSON, CSV, YAML, SQLite, Excel, and more.Nu pipelines use structured data so you can safely select, filter, and sort the same way every time. It draws inspiration from PowerShell, functional programming languages, and modern CLI tools. It is cross-platform with first-class support for Windows, macOS, and Linux.

PARAMETERS

-c, --commands COMMAND

Execute a command string and exit.
--config FILE
Specify a configuration file (config.nu).
--env-config FILE
Specify an environment configuration file (env.nu).
-n, --no-config-file
Start without loading config files.
--login, -l
Start as a login shell.
--stdin
Redirect stdin for scripts.
--table-mode MODE
Table display mode (rounded, basic, compact, etc.).

CONFIGURATION

$nu.config-path

Configuration file location (use `$nu.config-path` to find it).
$nu.env-path
Environment config location (use `$nu.env-path` to find it).
login.nu
Runs only when Nushell starts as a login shell.

INSTALL

sudo dnf install nushell
copy
sudo pacman -S nushell
copy
sudo zypper install nushell
copy
brew install nushell
copy
nix profile install nixpkgs#nushell
copy

CAVEATS

Not fully POSIX-compatible. Some Bash scripts and idioms do not work directly in Nushell. Plugin ecosystem is still evolving.

HISTORY

nushell was created by Yehuda Katz and Jonathan Turner and is written in Rust. Development started in 2019.

SEE ALSO

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

Braincup
Open source brain training for math, memory and focus
Braincup mini-games
41 mini-games · Apache-2.0
No ads · No tracking
Play in browser
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid
276 stars
From the maker of Linux Command Library
Copied to clipboard
Braincup
Open source brain training for math, memory and focus. 41 mini-games, from mental arithmetic to Sudoku, N-Back and Solo Chess.
Apache-2.0 licensed · No ads · No tracking · No account
From the maker of Linux Command Library
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid