Did you ever notice how little has changed in how we interact with a terminal? Sure, zsh is nicer than sh, tmux is useful - but working in a terminal is still extremely based on text, strange mnemonics etc. ChatGPT helps with all that, but wouldn't it be nice if we could have a shell that is built around modern ideas, not only the same stuff as in the 70ies?
This is what nushell is (nushell.sh) - it is written in rust, taking some inspiration from powershell but packaging it all in a really ergonomic package.
Commands consume and output structured data (through wrappers around the most common linux command or parsing/serialization helpers for the rest). This then lets you learn how to sort or filter data once and use it for all sorts of programs.
In this video I give a brief tour of nushell, how it works and some ideas for you can do with it.
Chapters
0:00 Intro
0:58 What would we like in a shell?
2:10 Starting nushell and a first taste - ls
4:25 Outputting to different structured formats
5:44 Inspecting structured data - sys
7:40 Building more complex pipes with each
11:00 Working with sqlite databases
13:50 Http requests from nushell
14:50 Parsing text into structured form
15:40 The built in help
16:10 Query web to query into html
16:36 Working with common programs that output only text like git
21:12 Getting structured output from docker
23:50 Installing nushell
25:10 Dataframe support for parquet files