Qu'est-ce que just ?
just is a handy command runner written in Rust by Casey Rodarmor. It saves and runs project-specific commands, called recipes, stored in a file named justfile with a syntax inspired by make. Unlike make, just is not a build system: recipes are simply commands to run, so there are no phony targets and no dependency on file modification times. With over 25k GitHub stars, it has become the go-to task runner for modern projects.
.PHONY declarations everywhere? Fed up with tab-versus-space errors and implicit build rules that fire when you least expect them? just keeps the familiar recipe feel of a Makefile but drops the build-system baggage — every recipe is just a command.
⚡ Key Features of just
📝 Make-Inspired Syntax
Write recipes in a familiar, readable justfile. If you know Makefiles, you already know most of just — minus the quirks.
🧩 Recipe Parameters
Recipes accept arguments and have default values, so a single recipe can adapt to many invocations without extra scripting.
🐚 Any Shell or Language
Write recipes in sh, bash, Python, Node, or anything else with a shebang line. just runs each recipe with the interpreter you choose.
📋 List & Discover
Run just --list to see every recipe with its documentation comment. Newcomers can explore a project's tasks instantly.
🔐 .env & Variables
Load environment files, define variables, and interpolate them into recipes. Keep configuration tidy and out of your commands.
🌍 Cross-Platform
A single static binary that works the same on Linux, macOS, and Windows — no runtime, no interpreter, no quirks.
🏆 Productivity Benefits
- Save Time: Run any project task with
just <recipe>instead of remembering long commands - Self-Documenting:
just --listshows every task and its description - Consistent: The whole team runs the same commands the same way
- No Build Quirks: Recipes are commands, not targets — no stale-timestamp surprises
- Portable: One justfile works across Linux, macOS, and Windows
apt upgrade vous garde toujours à la dernière version.
📦 Installation depuis deb.griffo.io
Étape 1 : Ajouter le dépôt
sudo install -d -m 0755 /etc/apt/keyrings
curl -fsSL https://deb.griffo.io/EA0F721D231FDD3A0A17B9AC7808B4DD62C41256.asc | sudo gpg --dearmor --yes -o /etc/apt/keyrings/deb.griffo.io.gpg
echo "deb [signed-by=/etc/apt/keyrings/deb.griffo.io.gpg] https://deb.griffo.io/apt $(lsb_release -sc 2>/dev/null) main" | sudo tee /etc/apt/sources.list.d/deb.griffo.io.list > /dev/null
sudo apt updateinstall -d -m 0755 /etc/apt/keyrings
curl -fsSL https://deb.griffo.io/EA0F721D231FDD3A0A17B9AC7808B4DD62C41256.asc | gpg --dearmor --yes -o /etc/apt/keyrings/deb.griffo.io.gpg
echo "deb [signed-by=/etc/apt/keyrings/deb.griffo.io.gpg] https://deb.griffo.io/apt $(lsb_release -sc 2>/dev/null) main" | tee /etc/apt/sources.list.d/deb.griffo.io.list > /dev/null
apt updatesudo apt install extrepo
sudo extrepo enable griffo
sudo apt update🆓 Il existe un miroir gratuit pour toujours. deb-free.griffo.io distribue des paquets gratuitement pour toujours — sans compte, sans abonnement, au plus 2 mois derrière l'upstream, correctifs de sécurité immédiats. Il contient aujourd'hui cliamp, Ghostty, lazydocker, Oh My Posh et Zed ; just n'en fait pas partie, le dépôt ci-dessus reste donc le seul moyen de l'installer — demandez-le et il pourra y être ajouté.
🧩 À propos de l'option extrepo. extrepo est l'outil de Debian pour les dépôts externes : il écrit le fichier de sources et installe la clé de signature à votre place, après l'avoir vérifiée face à des métadonnées signées. Ce dépôt y est enregistré sous le nom griffo, et le miroir gratuit à vie sous griffo-free ; sur Debian (bookworm, trixie, forky et sid), les commandes ci-dessus constituent donc toute l'installation.
extrepo ne met en place que le fichier de sources et la clé : les identifiants d'un abonnement vont toujours dans /etc/apt/auth.conf.d/deb.griffo.io.conf. Ubuntu n'est pas couvert, car extrepo ne publie de métadonnées que pour les suites Debian : utilisez-y les commandes avec sudo ou en root.
Étape 2 : Installer just
# Install latest just
sudo apt install just
# Verify installation
just --version# Install latest just
apt install just
# Verify installation
just --versionStep 3: Create Your First justfile
# Create a justfile in your project
cat > justfile <<'EOF'
# Build the project
build:
cargo build --release
# Run the tests
test:
cargo test
# Say hello to someone
hello name='world':
echo "Hello, {{name}}!"
EOF
# List available recipes
just --list
# Run a recipe
just build
just hello just🎯 Exemples d'utilisation de base
Running recipes:
# Run the first recipe in the justfile (the default)
just
# Run a specific recipe
just test
# Pass an argument to a recipe
just hello Dario
# List every recipe with its documentation
just --listWorking with justfiles:
# Show the resolved value of a variable
just --evaluate
# Print a recipe without running it
just --show build
# Use a justfile in another directory
just --justfile ~/project/justfile --working-directory ~/project build
# Choose a recipe interactively (needs a chooser like fzf)
just --chooseShell completions:
# Completions for bash, fish and zsh are installed with the package.
# Generate them manually for any shell if you need to:
just --completions bash
just --completions zsh
just --completions fish🚀 Pourquoi choisir deb.griffo.io ?
- Official Debian: Available but often outdated versions
- Cargo Install: Requires Rust toolchain and compilation
- Install Script: Manual updates and no package management
- deb.griffo.io: Latest version with automatic updates
- ✅ Latest Features: Get the newest recipe attributes and functions
- ✅ No Rust Compilation: Pre-built binaries, no toolchain needed
- ✅ Automatic Updates: Packages updated within hours of upstream releases
- ✅ Complete Package: Includes shell completions and the man page
- ✅ Multi-Distribution: Works on Bookworm, Trixie, and Sid
- ✅ Easy Maintenance: Standard apt commands for updates
📦 Dépôt de construction de paquets
Les paquets Debian sont automatiquement construits et maintenus dans ce dépôt GitHub :
- 🤖 just-debian - Latest release builds
🔗 Paquets associés
Également disponible depuis deb.griffo.io :
- fzf Fuzzy Finder - Powers
just --choosefor interactive recipe selection - Jujutsu - A modern, Git-compatible version control system
- Helix Editor - A post-modern modal editor for editing your justfiles