A Nu-er Shell
03 October 2024
Updated: 04 October 2024
Take a look at Nushell
ZOOOOOOM!
Is everything big enough and are we in dark mode?
Nushell
Go to demo
Nushell is a shell that makes use of the Nu Programming Language
- Cross-platform
- Everything is data
- Extensible
- Composition based
- Strongly typed
Data
- Traditional shells, e.g. bash, treat everything as strings
- Nushell treats input streams as data that can be transformed
- Uses the Nu Language for transforming data
- Wraps common commands into data-rich ones, e.g.
ls
,open
Pipelines
- A functional programming technique
- Feels a bit like LINQ
- Can be chained together and composed
- Lots of builtin function, e.g.
lines
,parse
,map
,where
,find
,filter
,each
,glob
,watch
… and more!
File Formats
- Supports many common file formats as data
- CSV
- JSON
- YAML
- Can add support for custom formats easily
- Easily convert between simple formats
The Nu Language
Demo
Examples below
Nushell
- Supports pretty much anything available in a file
- Easily configurable -
$nu.config-path
Show my setup