Skip to content

Command equivalents

This page lists, for each command of a tool reprobuild replaces, the closest reprobuild command. A dash means reprobuild has no equivalent. The pages under Coming from another tool explain the differences.

<!-- generated:begin command-equivalents -->

Nix

NixreprobuildNote
nix buildrepro build
nix developrepro shell
nix develop --command <command>repro exec -- <command>
nix runrepro run <task>Runs a task the project declares, not a package from a registry.
nix why-dependsrepro why <package-or-action>
nix store gc, nix-collect-garbagerepro store gc
nix copyrepro store copy --to=<store-root>Copies to another local store root.
nix profile historyrepro home history
nix profile rollbackrepro home rollback
nix search—No package search.
nix repl, nix eval—No evaluation console.

Home Manager

Home ManagerreprobuildNote
home-manager switchrepro home apply
home-manager buildrepro home planShows what an apply would change, without applying it.
home-manager generationsrepro home history
activating an earlier generationrepro home rollback

Bazel and Buck2

Bazel and Buck2reprobuildNote
bazel build <target>, buck2 build <target>repro build <target>
bazel test, buck2 testrepro test
bazel run, buck2 runrepro run <task>
bazel query, bazel aquery, buck2 uqueryrepro graph --view=<view>Fixed views instead of a query language.
bazel cleanrepro cleanRemoves the outputs the build owns and keeps the action cache, so the next build restores them from it.
bazel shutdown, buck2 killrepro daemon stop
bazel coverage—No coverage command.

direnv

direnvreprobuildNote
eval "$(direnv hook <shell>)"eval "$(repro shell hook <shell>)"
direnv allowrepro allow
direnv denyrepro deny
direnv exec <directory> <command>repro exec -- <command>Run from inside the directory.
direnv export <shell>repro dev-env export <shell>

mise

misereprobuildNote
mise exec -- <command>repro exec -- <command>
mise tasksrepro tasks
mise run <task>repro run <task>

`just`

justreprobuildNote
just --listrepro tasks
just <recipe>repro run <task>
just <recipe> <arguments>repro run <task> -- <arguments>

Docker Compose and process-compose

Docker Compose and process-composereprobuildNote
docker compose up, process-compose uprepro up
docker compose down, process-compose downrepro down

repo and git submodules

repo and git submodulesreprobuildNote
repo initrepro workspace init <organisation-or-url>
repo syncrepro sync
git submodule updaterepro workspace pullMoves every repository to the revision the manifests declare.
repo statusrepro workspace status
repo forall -c <command>repro workspace forall -c <command>
repo start <branch>repro switch -b <branch>
repo upload—No code-review upload.

Terraform and OpenTofu

Terraform and OpenTofureprobuildNote
terraform plan, tofu planrepro infra planResources on the machine that runs repro only.
terraform apply, tofu applyrepro infra applyResources on the machine that runs repro only.
terraform graphrepro graph
terraform import, terraform state, terraform output—No equivalent.

<!-- generated:end -->