Data Science at the Command Line, Edition 2.5

Jeroen Janssens
Dec 1, 2026 • 5 min read

The second edition of Data Science at the Command Line came out in October 2021. The command line itself hasn’t changed much since then, but many of the tools and websites that the book uses have. Some commands stopped working, and the output in the book no longer matched what readers saw on their own screen.

Today I’m publishing edition 2.5, which you can read for free at dsatcl.jeroenjanssens.com.

The text is that of the second edition, with small updates where tools or websites have changed. All the code has been run again with the current Docker image, so the output you see on the website is the output you get when you follow along today. The website now also has a dark mode.

Edition 2.5 in dark mode
Edition 2.5 in dark mode

A new Docker image

The Docker image that accompanies the book has been rebuilt on Ubuntu 26.04 with current versions of all the tools. It now runs natively on both Intel/AMD and ARM computers, including Macs with Apple Silicon. The Data Science Toolbox repository lists every tool and its version.

If you want the exact environment of the printed book, you can still use the original image with the tag 20210628.

Rendered with quarto-term

The website is now made with Quarto and quarto-term, a Quarto extension I wrote that runs commands in a real shell session and renders the terminal output, including colors and fullscreen programs. Every code block in the book is the result of running that code in the Docker image.

A new version of rush

rush, the tool I created for running R one-liners from the command line, has also been updated. rush plot now builds a ggplot2 plot, which you can see with rush plot -n. One change affects the book: to read from standard input, you now pass a -.

Thank you

Over the years, many readers have reported problems and suggested fixes on GitHub. Thanks to them, the book is in better shape than when it first came out. All of these issues and pull requests have now been addressed. If you run into something that doesn’t work, please open an issue.

Get started

All you need is Docker. Download the data, pull the image, and start a container in the same directory:

curl -sLO https://dsatcl.jeroenjanssens.com/data.zip
unzip data.zip
docker pull datasciencetoolbox/dsatcl2e
docker run --rm -it -v "$(pwd)":/data datasciencetoolbox/dsatcl2e

Inside the container, the data is in /data. Chapter 2 explains the rest, including the commands for Windows.

Links


Would you like to receive an email whenever I have a new blog post, organize an event, or have an important announcement to make? Sign up to my newsletter:
© 2013–2026  Jeroen Janssens