Nushell
Nushell lets you work with structured, typed data in your shell pipelines, making commands safer, clearer, and easier to script than traditional text-only shells.
sudo apt install nushell
which nu | sudo tee -a /etc/shells
chsh -s "$(which nu)"Add PATH
nano $nu.env-path
**# Add extra PATH entries (highest priority last, because `path add` prepends)
use std/util "path add"
# Match your Bash order:
# 1) $HOME/spack/bin
# 2) /usr/lib/rocm/llama-cpp/bin
# 3) /usr/lib/rocm/bin
# 4) $HOME/.local/npm-global/bin
path add ($env.HOME | path join "spack/bin")
path add "/usr/lib/rocm/llama-cpp/bin"
path add "/usr/lib/rocm/bin"
path add ($env.HOME | path join ".local/npm-global/bin")
exec nu # restart the shell process**