A new type of shell
open sourceMITself-hostablefree
Nushell (nu) is a shell that treats input and output as structured data rather than raw text. Commands such as ls return tables that can be filtered, sorted and transformed in pipelines, and it opens JSON, YAML, CSV, TOML and other formats natively. It is cross-platform and supports plugins.
Ways to install
Package managers
Problems it solves
- tired of parsing text output with awk and cut in shell pipelines
- filter a directory listing by size or date without fragile text parsing
- open a JSON or CSV file and query it right from the shell
- want a shell where commands return tables I can sort and select columns from
- PowerShell-style objects but on Mac and Linux with a nicer syntax
- shell scripts break when filenames contain spaces
- explore an API response interactively in the terminal
- one shell that works the same on Windows and Unix
Features
- structured pipelines
- native JSON/YAML/CSV/TOML parsing
- tables
- plugins
- cross-platform
Capabilities
| Has a command line tool | plan not known |
|---|---|
| Takes plugins | plan not known |
Alternatives
The same job
These do what Nushell does.
- PowerShell A cross-platform task automation solution: command-line shell, scripting language and configuration management
- fish The user-friendly command line shell.
- jq Command-line JSON processor
- Bash The GNU Project's Bourne Again SHell
- Zsh A shell designed for interactive use, and a powerful scripting language
- Miller Like awk, sed, cut, join and sort for CSV, TSV and JSON
