Project automation with the Just task runner
Just in Time
Just is a command runner that lets you define project-specific tasks in a declarative justfile.
Modern Linux development often involves juggling various scripts and makefiles to automate tasks such as building software, running tests, or managing environments. Just is a relatively new task runner – essentially a command runner – offering a fresh alternative to ad-hoc Bash scripts and GNU Make for project automation. Unlike traditional build systems, Just focuses on simplicity and consistency, providing a streamlined way to define and run project-specific commands via a justfile.
Why Just?
Seasoned Linux users often default to Bash scripts or makefiles for project automation. Bash scripts are straightforward but can become messy as a project grows, lacking a unified interface for running various tasks. GNU Make, on the other hand, provides a formal structure but comes with historical quirks (such as tab-indentation issues and implicit rules) and is meant primarily for build automation with file targets. Just positions itself as a "command runner, not a build system," avoiding much of Make's complexity. In practical terms, this means no need for managing phony targets – every Just recipe is essentially "phony" by default, because Just doesn't track file timestamps or rebuild logic.
Just brings several advantages for Linux automation:
[...]
Buy this article as PDF
(incl. VAT)
Buy Linux Magazine
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.
News
-
Top Priorities for Open Source Pros Seeking a New Job
Professional fulfillment tops the list, according to LPI report.
-
Container-Based Fedora Hummingbird Designed for Agent-First Builders
Fedora Hummingbird brings the same approach to the host OS as it does to containers to level up security.
-
Linux kernel Developers Considering a Kill Switch
With the rise of Linux vulnerabilities, the kernel developers are now considering adding a component that could help temporarily mitigate against them… in the form of a kill switch.
-
Fedora 44 Now Gaming Ready
The latest version of Fedora has been released with gaming support.
-
Manjaro 26.1 Preview Unveils New Features
The latest Manjaro 26.1 preview has been released with new desktop versions, a new kernel, and more.
-
Microsoft Issues Warning About Linux Vulnerability
The company behind Windows has released information about a flaw that affects millions of Linux systems.
-
Is AI Coming to Your Ubuntu Desktop?
According to the VP of Engineering at Canonical, AI could soon be added to the Ubuntu desktop distribution.
-
Framework Laptop 13 Pro Competes with the Best
Framework has released what might be considered the MacBook of Linux devices.
-
The Latest CachyOS Features Supercharged Kernel
The latest release of CachyOS brings with it an enhanced version of the latest Linux kernel.
-
Kernel 7.0 Is a Bit More Rusty
Linux kernel 7.0 has been released for general availability, with Rust finally getting its due.
