For those of you unaware: https://nushell.sh/
This is by far the most unique shell out there, since it doesn’t use raw text as output/input to command line calls, but instead an actual data structure. It’s like if every CLI call returned a database table, in a way.
The system tools have the output of what PowerShell offers, or doesn’t it? I actually don’t use Windows. In Linux the standard tools are stuff like grep, i don’t know everything in the system is designed with stdin and stdout as lines and similar. Nushell requires the programs to understand Nushell, so its kinda like its enclosed system and not really a Shell in my opinion. It does not integrate (at least in Linux) into the other tools as well. That’s why they provide a few extra tools that only work in Nushell.
Not saying this is a bad approach, its just not what I would do.
My point was that with Nushell you don’t need various command line tools like you do on bash or whatever. The question of whether those integrate well with Nushell doesn’t even come up/is not central - although it does work with text just fine.
Nushell integrates very well into various data formats. It can handle text pipelines, but the advantage is in using structured data. You skip the entire text-pipelinie and work on structured data throughout, and don’t need grep or awk or find or du or df or whatever cli tools you would use in a simpler/classic Linux shell.
And my point is, this is not a “real shell”, in the sense of “default interactive shell”. It is an encapsulated system that works on its own. Basically like a programming language would be (speaking of programming language, there is also one for Python Xonsh). I don’t have a problem with this approach though, so don’t get me wrong, need to stress this enough. There are many implications here. If one likes this approach of replacing the entire Linux tools stack, its up to them.
However… just like with any other tool, I think Nushell is an excellent “enhancement” or “additional” tool to what I already use. Especially working with structured data can be very useful. Instead parsing the data myself or using other parser tools like
jq
or Python, Nushell could do this with all the features it provides. Even though I am not for replacing my own shell with this, I need to look closer to have it as an additional tool installed. From that angle, I see Nushell more like a programming language like AWK (yeah its a full language inside, I think Turing complete) or Python. But I’m not sure I really want to, because I like to share my solutions.Nushell has a “find” that works just like grep with more features. Not to be confused with findutils. Nushell ships replacements for all the standard tools.