If the downloadable binaries do not appeal, your best bet is the rejig source code. It is written in modern Go, offered under an MIT license.
macOS
On a macOS host with Homebrew installed:
xcode-select --install
brew install fossil go go-task
fossil clone https://tangentsoft.com/rejig
cd rejig
make install
Thanks to the magic of go build and Task, that will build the rejig binary and install it into either…
~/.local/bin~/bin/usr/local/bin
…depending on which one it finds first. It prefers the first option because it’s writable without root privileges, and it’s in the macOS default PATH when it exists at the point the Terminal tab opens a shell. The fallbacks are there because this directory does not exist on a stock macOS box, leading us to presume from its absence that you prefer another install target.
You might have the XCode CLI tools installed already, making the first step unnecessary. If by chance this is not the case, skipping that step will prevent the Go compiler from building the 128-bit decimal FP support rejig optionally makes use of to interpret these values more deeply than as opaque 16-byte blobs. Providing the tooling it needs to build this feature into rejig is recommended, but not required.
Use of make above is as a thin wrapper for Task, shown here purely for its broader familiarity. The only current case where it does not pass commands through 1:1 is make test, which is an optional wrapper for ensuring the self-testing framework runs in a consistent manner. To run those tests yourself:
brew install cpanminus
cpanm --installdeps ./tests
make test
To avoid bringing in all the Perl stuff that requires, you can run only the Go tests via:
go test ./...
Linux
Universal Blue
The simplest option occurs on Universal Blue OSes, most1 of which ship Homebrew in the default install image. This allows the macOS instructions above to work as-is but for a single detail: drop the first command and instead add gcc to the brew install command.
Ubuntu / Debian
The macOS instructions above translate to:
curl -1sLf 'https://dl.cloudsmith.io/public/task/task/setup.deb.sh' | sudo -E bash
sudo apt install build-essential fossil golang task
fossil clone https://tangentsoft.com/rejig
cd rejig
make install
I’m not happy about the curl-pipe-to-bash bit, but I do not see an alternative for installing Task from the official repos, at least with Ubuntu LTS 26.04 and Debian Trixie.
RHEL / AlmaLinux / Rocky / CentOS
It’s much the same under dnf based Linux distros, but for completeness…
curl -1sLf 'https://dl.cloudsmith.io/public/task/task/setup.rpm.sh' | sudo -E bash
sudo dnf install fossil gcc golang make task
Then continue with the fossil clone step above.
Add sudo dnf install perl-App-cpanminus and give the cpanm command above prior to running the complete self-testing framework via make test, if desired.
Distrobox
Those instructions should translate straightforwardly to other Linuxes, but a simpler path is to leverage the amazing Distrobox:
fossil clone https://tangentsoft.com/rejig
cd rejig
distrobox create --name go --image docker.io/library/golang
distrobox enter go
/usr/local/go/bin/go build ./cmd/rejig
That built binary can then be copied out to a PATH directory.
The less powerful Toolbx should be able to pull off the same trick, but I have not verified that.
Podman
We use containerized builds in the rejig release process, which work on any system with Podman installed, avoiding the need for Distrobox/Toolbx. A provision for a local-only build exists. For a Fedora type host OS, the commands are:
sudo dnf install go-task podman
task cntlocal
podman run -it --rm rejig --version
Windows
On a recent version of Windows with Microsoft’s add-on Terminal app installed, say:
winget install Fossil.Fossil Golang.Go Task.Task
If you want 128-bit decimal FP support in rejig, you will need to add MSYS2.MSYS2 to that list of packages, then pop into the separate MSYS2 terminal app and say:
pacman -S base-devel mingw-w64-ucrt-x86_64-toolchain
Now you need to add two directories to your Windows PATH:
c:\msys64\usr\bin
c:\msys64\ucrt64\bin
Restart Windows Terminal to apply that change, then continue with the fossil clone… step above.
Minimum Go Version
The source declares a requirement for a recent version of Go, based on both the use of Go features within the project and the requirements of external modules we rely on.
Development is done on the current stable release, and distributed binaries are built against that.
Dual checkouts (maintainers)
Day-to-day development uses one Fossil open on the trunk branch. Cutting a release with make release / ./tools/mkrel also needs a sibling checkout of the same repository on the release branch:
fossil clone https://tangentsoft.com/rejig rejig.fossil
mkdir trunk release
cd trunk && fossil open ../rejig.fossil trunk
cd ../release && fossil open ../rejig.fossil release
The directory names are conventional; what matters is that ../release (relative to the trunk working tree) is a Fossil checkout of this same repository on branch release. Never fossil update release inside the trunk tree, and never fossil update trunk inside the release tree.
Going Beyond
See Fossil’s quick start guide for more information on working with the version control system for this Fossil repository. For an amuze-bouche, try this from within the checkout directory you created above:
fossil ui
You’ll have a local copy of this project’s Fossil site in your default web browser. Cool, yeah?
(You may now wish to return to the rejig home page.)
License
This work is © 2026 by Warren Young and is licensed under CC BY-NC-SA 4.0