just: a command runner that saves you from make's complexity and idiosyncrasies

AI-generated summary of reporting by GitHub Opensource Projects. Read the original for the full story.

Why it matters

Developers who use make just to run test or deploy scripts can drop .PHONY declarations, cryptic errors and tab-syntax headaches by switching to a purpose-built command runner that installs in an afternoon.

Read this as

just is a free, open-source command runner written in Rust that stores the commands you type repeatedly in a project, tests, builds, deploys, in a file called a justfile. It copies the familiar look of the older tool make but removes the baggage, since make is really a build system rather than a command runner. Recipes can take arguments, run in Python or Node.js via shebang lines, and load .env files automatically. It affects any developer who currently wrestles with Makefiles for non-build tasks.

just is a mature, actively maintained Rust project, installable via package managers, pre-built binaries or cargo install just, with no dependencies beyond a shell. It competes with make for the roughly 80% of Makefile usage that is command running rather than building software. Adoption cost is low, a single binary and an afternoon, and there is no lock-in, since it does not replace make for genuine builds. Teams gain readable errors, static checking of unknown recipes and circular dependencies, and shell completions.

just is a single Rust binary for Linux, macOS, Windows and other Unix systems; on Windows it uses the sh from Git for Windows, GitHub Desktop or Cygwin, or a configurable shell. Recipes are named shell commands in a justfile with make-inspired syntax, but support real CLI arguments, a rich expression language with built-in functions, shebang recipes in any language, and module-based file splitting for larger projects. Unlike make, there is no file-target assumption, so .PHONY is unnecessary. It catches unknown recipes and circular dependencies statically and resolves errors with source context before running.

Read the original

This summary exists to save you time, not to replace the source.

Key terms

just justfile make Rust cargo install just GitHub Windows

Was this summary useful?

One click, anonymous. It tells us which summaries to re-run.

Related reading

datasette-charts 0.5a0

Datasette Charts 0.5a0 adds calendar heatmaps, box plots and active-over-time charts, enabling richer data visualisation directly in the browser without extra libraries.