A data-oriented shell

Data Pipeline

© Lead Image © shacil, 123RF.com

© Lead Image © shacil, 123RF.com

Article from Issue 296/2025
Author(s):

Nushell's data-first approach elevates shell scripting to a new level of clarity and precision.

Traditional shells operate on unstructured text, often requiring brittle parsing. Nushell replaces that with structured data pipelines, enabling consistent, reliable commands that treat output as typed tables, records, and lists. Nushell (often called Nu) is a modern shell designed for working with structured data, built in Rust, and inspired by Unix's pipeline philosophy. Unlike traditional shells that pass text streams, Nushell pipelines pass structured data (tables, records, lists), allowing you to filter, sort, and query information without tedious string parsing. This makes Nu especially powerful for developers and system administrators who frequently work with JSON, YAML, CSV, and other data formats.

Installation and Configuration on Ubuntu

Nushell can be installed on Ubuntu in multiple ways (Apt repository, Snap, or building from source). Here I will focus on the Apt repository method, which is straightforward and keeps Nushell up to date via apt. Alternatively, you can use Snap or Homebrew [1].

To install Nushell securely on Ubuntu using the official Apt repository, start by adding the GPG key that ensures the packages' authenticity. This key is required by the Apt system to verify that downloaded packages come from a trusted source.

[...]

Use Express-Checkout link below to read the full article (PDF).

Buy this article as PDF

Express-Checkout as PDF
Price $2.95
(incl. VAT)

Buy Linux Magazine

SINGLE ISSUES
 
SUBSCRIPTIONS
 
TABLET & SMARTPHONE APPS
Get it on Google Play

US / Canada

Get it on Google Play

UK / Australia

Related content

  • FOSSPicks

    After building a 3D printer last month, Graham's home is now filled with cup holders, phone holders, cable holders, and tiny PLA boats. This month, Graham explores Zrythm, Mumble 1.3, NoteKit, Kirogi, monolith, pastel, Nu Shell, PacVim, Stunt Car Racer Remake, and more!

  • Spider, Spider

    Scrapy is an open source framework written in Python that lets you build your own crawlers with minimal effort for professional results.

  • Advanced Shell Scripting

    Shell scripting is a versatile tool for managing and automating the modern IT infrastructure. This article reaches beyond the basics with some advanced techniques for tackling real-world challenges.

  • Bash vs. Vista PowerShell

    Microsoft’s new PowerShell relies on .NET framework libraries and thus has access to a treasure trove of functions and objects. How does PowerShell measure up to traditional shells like Bash?

  • DCCP

    The DCCP protocol gives multimedia developers a powerful alternative to TCP and UDP.

comments powered by Disqus
Subscribe to our Linux Newsletters
Find Linux and Open Source Jobs
Subscribe to our ADMIN Newsletters

Support Our Work

Linux Magazine content is made possible with support from readers like you. Please consider contributing when you’ve found an article to be beneficial.

Learn More

News