Daniel Bachler demonstrates Nushell, a modern shell written in Rust that uses structured data instead of raw text.
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
Intro
What would we like in a shell?
Starting nushell and a first taste - ls
Outputting to different structured formats
Inspecting structured data - sys
Building more complex pipes with each
Working with sqlite databases
Http requests from nushell
Parsing text into structured form
The built in help
Query web to query into html
Working with common programs that output only text like git
Getting structured output from docker
Installing nushell
Dataframe support for parquet files
Why it's here
1 person recommends this
What people say. Recommended as a great introduction to the advantages of Nushell over traditional shells like zsh.
L
u/Ludo_Techin r/rust • Recommends
On “What do you think about nushell?”
It does everything better than zsh and fish in my opinion: data oriented approach, more modern, vastly more powerful, less cryptic, more consistent so way easier to use for complicated stuff.
Is it ready to use? I don't know, for me yes, but I'm just a hobbyist on one computer.
A good presentation of its advantages:
[video
But the best is probably to try it for yourself \^\^