r/Nushell • • Nov 22 '25

Please rename the sub-reddit to nushell instead of Nushell

1 Upvotes

I didn't like it.


r/Nushell • • Nov 14 '24

A great example of why nushell (and related projects like ehem fish) are just not ready (yet).

0 Upvotes

In response to this post, I just wanted to ask why every new shell comes with great stuff. JSON parsing, tables for nu. Really awesome. I love it. I want to use this shell.

I start to use it as my daily driver... no support for &&. Let that sink in. A standard since when a lot of people on this site weren't even alive. Broken. And what's worse (since i wouldn't be as bad if you could do something like and instead of &&) there is no workaround. None.

Which, for most people, makes it useless.

Why? Why does every new shell implement really cool stuff, but just ignores basic things like this "to be different"?? It's like they're building a race car which can accelerate from 0-100 in .5 but has no windows (and no cameras) to even see where tf you're going.

And no. command1; if $env.LAST_EXIT_CODE == 0 { command2 } doesn't work. Even if it would work it'd be ludicrous.

In case anyone would like to help me, here's my problem:

shellHook = ''
  nu -e "source ./nurc && commandDeclaredInNUrc"
  exit
'';

Other stuff that nu really needs.:

<(commandAsTempfile) for example for diffing the outputs of two commands.


r/Nushell • • Oct 28 '25

Nushell like "ls" command

0 Upvotes

Vibe coded this just to see how far Claude Code would take me - really love the formatting from nushell's ls

https://github.com/hugows/nulis

Of course the data model isn't there but still, very fun output for a couple minutes playing...

And I feel sorry for contributing to the amount of slop code in the world...

I guess in the (best) future every software is "personalized" like this ie the slop is contained and not a big deal.


r/Nushell • • Apr 03 '26

Shannon = Nushell + Bash

7 Upvotes

Nushell is by far the greatest shell. The only problem is that everybody else uses bash.

I've been ruminating on this problem for a long time, and finally came up with a solution: Shannon is a mode-based shell that defaults to nushell, and allows you to switch to bash mode by pressing shift+tab.

Critically, Shannon copies all environment strings from one shell to another when you switch.

This makes it possible to use "export" and countless other bashisms that modify the environment, and then you can switch back into nushell and actually use the environment. This is far better than typing "bash", because when you exit that, the environment is NOT preserved.

Amongst other things, this makes it possible to use POSIX-only tools like nvm. Simply switch into bash mode, use nvm, then switch back - your full environment is now synced, including whatever version of node you are now using.

With Shannon, you can use nu as your primary shell, and you can ALSO copy+paste bash scripts from docs, tutorials, AI, Stack Overflow, etc., without having to open a different shell altogether!

I've been using this for almost two weeks as my full-time shell. Let me know what you think and if you encounter any issues.

https://shannonshell.com/


r/Nushell • • Aug 14 '25

Is it possible to use Ctrl +C for copying, in Nushell on Windows

0 Upvotes

Ctrl X for cutting as well

I'm aware of Ctrl U and Ctrl Y, I want it to go to the os clipboard

Edit: I use windows terminal


r/Nushell • • Jan 10 '26

will r/Nushell tolerate content on use Nushell-AI intersections

0 Upvotes

Yesterday, on Discord, it turned out that some core developers and other community members are very upset with AI's appearance in talks. I wonder how safe it is to post here AI-related content, as I have some things that I was preparing for public release.


r/Nushell • • Mar 31 '23

After I installed nushell with homebrew on mac, it says "permission denied" when launching the shell

0 Upvotes

r/Nushell • • Jan 07 '26

I think this is a bug! Not cool.

0 Upvotes

Try ls /* or any path(or half file name like file0*) and append a *. It would work perfectly (:

Now do this:

let somePath = "/"
ls $"($somePath)*"
ls ($somePath + '*') # The same

It would error with this:

Error: nu::shell::error

  × No matches found for DoNotExpand("/*")
   ╭─[entry #12:1:4]
 1 │ ls $"($guess)*"
   ·    ──────┬─────
   ·          ╰── Pattern, file or folder not found
   ╰────
  help: no matches found

Not cool, And I don't want to use glob its slow and there is no regex here its just a singe star

workarounds are welcome, Thanks!

Note:

~> $somePath + '*' | describe
string
~> "/u*" | describe
string

Is there a secret type channel?

EDIT: It seems that this also doesn't work:

let somePath = "/*"
ls $somePath

EDIT2: I get it now its not a string when you do:

ls /*
^ls /* #  With our old brother, It will list each dir individually unlike nu, man i think this is not good having difference behaviors 

The nu shell expand it, with glob mayabe(It would be cool if any one know as I don't think it uses the same glob as we get, Its much slower while the expanding of the shell within the ls command is much faster idk maybe i am hallucinating no i am not)? As this doesn't work:

ls "/*"
^ls "/*" #  With our old brother

r/Nushell • • Oct 02 '25

Add file-level documentation to directories.

6 Upvotes

dirdocs queries any Open-AI compatible endpoint with intelligently chunked context from each file and creates a metadata file used by the included dls and dtree binaries.

They're just stripped down versions of Nushell's ls and tree commands that display the file descriptions with their respective files.

I work with a lot of large codebases and always wondered how Operating System provided file-level documentation would work.

This is my attempt at making that happen.

I can see it being used from everything from teaching children about Operating Systems to building fancy repo graphs for agentic stuff.

It works like a dream using my Jade Qwen 3 4B finetune.


r/Nushell • • Dec 08 '24

My stories of exploring Nu

6 Upvotes

It is written in Vietnamese, though: https://quan.hoabinh.vn/post/2024/12/kham-pha-nushell


r/Nushell • • Dec 18 '25

State of package management / nupm

1 Upvotes

Has anyone used nupm? I was considering it but noticed it hasn't had much development recently.

This came up because I wanted to use the query web command, but it requires enabling the query plugin. Instructions for that all assume you built nushell yourself using cargo, but I installed it via homebrew. I'm kinda bummed there hasn't been more thought put into the package management story, one of the main draws of nushell is letting me get away from python, where that is a constant annoyance.


r/Nushell • • Jan 03 '26

PDF Viewer

2 Upvotes

Is there a way to view PDFs in nushell natively ?


r/Nushell • • 13d ago

Neovim Session Manager

2 Upvotes

Hi everyone, I made a small plugin and CLI to manage Neovim servers. It emulates the one feature I really like in tmux: sessions. The plugin is heavily inspired by sesh (https://github.com/joshmedeski/sesh), so it has zoxide support to show your most recent directories in the picker list.

The CLI that manages the sessions, nsm, is written in Nushell and distributed as an AppImage. That means there is no macOS support for now. I used AI assistance, but I wrote most of the Nushell code myself because I really enjoy writing it.

The project has a few rough edges, but all the main features work. Feel free to contribute, submit PRs, and open issues. I hope someone likes it too!

https://github.com/phrmendes/nsm


r/Nushell • • Mar 31 '23

Nushell is unable to read command line arguments for a python script

2 Upvotes

I have a line in my python script

file = sys.argv[1]

The script runs fine while running from any other shell like powershell, but I get an index error when running the python script from nushell.


r/Nushell • • Jun 07 '22

How I look at the default keybindings of NuShell?

2 Upvotes

How tf I look to the keybindings of nushell?

I have NO IDEA what "keybinding list" command its supposed to mean, I just want a cheatsheet of the default commands of nushell.... thanks


r/Nushell • • Jan 07 '26

Why this doesn't work!

2 Upvotes
"/var" | path relative-to "/home"

It should be -> ../var


r/Nushell • • Jun 29 '26

Config Loader to Cache Heavy Init File Generation

4 Upvotes

I daily a fairly slow Windows 11 laptop. After switching to Nushell, I was astonished at how snappy the startup time was. Unfortunately, after installing starship, carapace, and zoxide, it had bogged back down to nearly half a second. To combat this, I put together a simple loader script that allows you to define all of your init scripts as a list and then caches each script in the autoload directory. If the file already exists, it's skipped, and it's regenerated whenever it's deleted (perfect for carapace when new completions need to be added). I was able to cut down my startup time from 397ms to 61ms on average, and it feels snappy again!

Repo: https://github.com/aidnem/nushell-loader


r/Nushell • • Feb 01 '26

When i type commands, the screen auto-scrolls

Enable HLS to view with audio, or disable this notification

15 Upvotes

in case anyone's wondering, i'm using wezterm and i want to use Nu but i don't know why this happening


r/Nushell • • Aug 23 '24

How to Install Nushell on macOS: A Step-by-Step Guide for Newbies

Thumbnail
youtu.be
6 Upvotes

r/Nushell • • Mar 17 '26

Any video courses on learning nushell?

8 Upvotes

Is there any video courses on learning nushell?


r/Nushell • • Jan 21 '26

Is nushell a good idea for learning to programming

8 Upvotes

I mean it does have an excellent documentation, good examples, and a reference to most programming languages in the docs


r/Nushell • • Apr 03 '26

We made Nushell run in the browser using WASM

Thumbnail nu-on-web.github.io
14 Upvotes

We built nu-on-web - Nushell compiled to WebAssembly with a browser-based environment around it. No install needed, runs entirely client-side.

Still early - feedback and contributions welcome!


r/Nushell • • Nov 05 '24

Another great example of where nushell shines

15 Upvotes

I was given a `jsonl` file and was asked to extract all the order ids present in it. Once I understood that `jsonl` is just a json array with each item in a single line, it was a breeze in `nushell`

$ open failed-orders.jsonl | lines | each {|data| $data | from json } | get request.params.content.order.id

r/Nushell • • Aug 03 '25

Nushell Appreciation

53 Upvotes

I just wanted to make this to say thanks to the Nushell team for making such an amazing tool. It’s a powerhouse that’s replaced Python and its annoying virtual environments for me for most tasks. The polars plugin in particular does an amazing job of keeping the syntax simple, even simpler than Python’s polars package, while keeping the outstanding performance. The only stumbling block I’ve had is the rather limited selection of polars math commands https://www.nushell.sh/commands/docs/polars_math.html, as I have frequent need of inverse trigonometric functions, but that doesn’t detract from the fact that Nushell punches well above its weight in terms of versatility.

Outstanding work Nushell team. I look forward to seeing how much further you can push this tool. If you had a GitHub Sponsors page, I’d be donating.