Love nushell. It’s just about the most practical functional programming language I’ve ever had the pleasure of using.
I’m using fish as my default shell since it’s more standards-compliant and plays nicer with tools that modify your environment. But any time I need to do more complicated shell scripting, I’m breaking out nushell.
Haven’t tried it out, but there are some free Nextcloud hosts listed on the official website.