Step‑by‑Step Guide to Installing Nushell on Linux, macOS, and Fedora
This tutorial explains what Nushell is, lists the required development packages, and provides detailed commands to download, extract, and install the latest Nushell binaries and plugins on Ubuntu/Debian, RHEL‑based Linux, macOS, and Fedora, plus how to set it as the default shell for a new user.
What is Nushell
Nushell is a modern, cross‑platform shell written in Rust. It provides a data‑oriented command line experience with strong type safety and aims to reduce bugs compared with traditional shells.
Installation prerequisites
Install the required development libraries before building or installing Nushell.
Ubuntu/Debian
sudo apt update
sudo apt install -y pkg-config libssl-dev libxcb-composite0-dev libx11-devRHEL‑based distributions
sudo yum install -y libxcb openssl-devel libX11-develmacOS (Homebrew)
brew install openssl cmakeInstall Nushell on Linux
Download the latest release archive from the official GitHub repository, extract it, and move the binaries and plugins to a directory in /usr/local/bin that is in the system PATH.
cd /tmp
curl -s https://api.github.com/repos/nushell/nushell/releases/latest \
| grep browser_download_url | cut -d '"' -f4 \
| grep '\linux.tar.gz' | wget -i -
tar -xvf nu_*_linux.tar.gz
sudo mv nu_*_linux/nushell-*/nu /usr/local/bin/nu
sudo mv nu_*_linux/nushell-*/nu_plugin* /usr/local/bin/Install Nushell on macOS
Two options are available:
Homebrew brew install nushell Manual binary download
cd /tmp
curl -s https://api.github.com/repos/nushell/nushell/releases/latest \
| grep browser_download_url | cut -d '"' -f4 \
| grep '\macOS.zip' | wget -i -
unzip nu_*_macOS.zip
sudo mv nu_*_macOS/nushell-*/nu /usr/local/bin/nu
sudo mv nu_*_macOS/nushell-*/nu_plugin* /usr/local/bin/Alternative: Install via Fedora COPR
sudo dnf copr enable atim/nushell -y && sudo dnf install nushell -yCreate a new user and set Nushell as the default shell
Example using a user named techviewleo:
sudo adduser techviewleo
sudo chsh -s /usr/local/bin/nu techviewleo
su - techviewleoAfter login the prompt will appear as:
/home/techviewleo>Verify the installation
Run a basic command such as ls inside Nushell to confirm it works.
lsOfficial repository: https://github.com/nushell/nushell
Signed-in readers can open the original source through BestHub's protected redirect.
This article has been distilled and summarized from source material, then republished for learning and reference. If you believe it infringes your rights, please contactand we will review it promptly.
Liangxu Linux
Liangxu, a self‑taught IT professional now working as a Linux development engineer at a Fortune 500 multinational, shares extensive Linux knowledge—fundamentals, applications, tools, plus Git, databases, Raspberry Pi, etc. (Reply “Linux” to receive essential resources.)
How this landed with the community
Was this worth your time?
0 Comments
Thoughtful readers leave field notes, pushback, and hard-won operational detail here.
