Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Installation

Retake is one binary, retake. It runs on macOS (Apple Silicon and Intel) and Linux (x86_64 and arm64). Windows is not supported yet: forwarding signals to the wrapped command uses Unix calls.

From crates.io

cargo install --locked retake

This needs Rust 1.88 or later and a C compiler (see From source).

With the pytest plugin (Python)

pip install pytest-retake

pytest-retake depends on retake-cli, a wheel that contains the retake binary, so this installs both and needs no Rust toolchain. pip install retake-cli installs the binary alone. The two packages and Retake share one version number.

Prebuilt binaries

Each GitHub Release has archives for every platform, with checksums, and a shell installer:

curl --proto '=https' --tlsv1.2 -LsSf https://github.com/simdugas/retake/releases/latest/download/retake-installer.sh | sh

The installer puts retake in $CARGO_HOME/bin (~/.cargo/bin). The Linux binaries are statically linked (musl) and run on any distribution.

Homebrew

Each GitHub Release has a Homebrew formula, retake.rb, among its files. There is no Homebrew tap yet, so brew install retake does not find it; you can add the formula to a tap of your own (brew tap-new), or use the shell installer above.

From source

Retake needs Rust 1.88 or later (the minimum supported version, rust-version in Cargo.toml) and a C compiler: the HTTP client uses reqwest’s rustls backend, which depends on aws-lc-rs.

git clone https://github.com/simdugas/retake
cd retake
cargo install --locked --path .
retake --version

To work on Retake itself, see CONTRIBUTING.md, which covers building, the tests and the other checks.