Operations 5 min read

How to Install and Use Nushell – A Modern Rust‑Based Cross‑Platform Shell

This guide introduces Nushell, a Rust‑written cross‑platform shell, explains its core goals, and provides step‑by‑step installation commands for Ubuntu/Debian, RHEL, macOS, Docker, and how to set it as the default user shell.

Laravel Tech Community
Laravel Tech Community
Laravel Tech Community
How to Install and Use Nushell – A Modern Rust‑Based Cross‑Platform Shell

Nushell (Nu) is a modern, cross‑platform shell written in Rust that aims to create a flexible, data‑centric command line experience, combine traditional commands with structured data, and deliver a polished user experience.

Installation on Ubuntu/Debian

sudo apt update
sudo apt install pkg-config libssl-dev -y
sudo apt install libxcb-composite0-dev libx11-dev -y

Installation on RHEL‑based systems

sudo yum install libxcb openssl-devel libX11-devel -y

Installation on macOS (Homebrew) brew install openssl cmake Manual binary installation on Linux

cd /tmp
curl -s https://api.github.com/repos/nushell/nushell/releases/latest | grep browser_download_url | cut -d '"' -f 4 | grep '\linux.tar.gz' | wget -i -
 tar -xvf nu_*_linux.tar.gz
 sudo mv nu_*_linux/nushell-*/nu /usr/local/bin
 sudo mv nu_*_linux/nushell-*/nu_plugin* /usr/local/bin

Manual binary installation on macOS

cd /tmp
curl -s https://api.github.com/repos/nushell/nushell/releases/latest | grep browser_download_url | cut -d '"' -f 4 | grep '\macOS.zip' | wget -i -
 unzip nu_*_macOS.zip
 sudo mv nu_*_macOS/nushell-*/nu /usr/local/bin
 sudo mv nu_*_macOS/nushell-*/nu_plugin* /usr/local/bin

Running Nushell in Docker (for Windows users) docker run -it quay.io/nushell/nu:latest Setting Nushell as the default shell for a user

sudo adduser techviewleo
sudo chsh -s /usr/local/bin/nu techviewleo
su - techviewleo

After switching to the new user, you can verify Nushell is active (e.g., /home/techviewleo>) and run typical commands such as ls to see the enhanced output.

For more information and the latest releases, visit the official repository at https://github.com/nushell/nushell .

Original Source

Signed-in readers can open the original source through BestHub's protected redirect.

Sign in to view source
Republication Notice

This article has been distilled and summarized from source material, then republished for learning and reference. If you believe it infringes your rights, please contactadmin@besthub.devand we will review it promptly.

DockerRustLinuxShellInstallationmacOSNushell
Laravel Tech Community
Written by

Laravel Tech Community

Specializing in Laravel development, we continuously publish fresh content and grow alongside the elegant, stable Laravel framework.

0 followers
Reader feedback

How this landed with the community

Sign in to like

Rate this article

Was this worth your time?

Sign in to rate
Discussion

0 Comments

Thoughtful readers leave field notes, pushback, and hard-won operational detail here.