Pick the channel that matches your platform and package manager. Every channel installs the same binary; the release process publishes them from the same tag.
| Channel | Platform | Command |
|---|---|---|
| Cargo | any with a Rust toolchain | cargo install runex |
| mise (build from source) | any with a Rust toolchain | mise use -g cargo:runex |
| mise (GitHub release binary) | Linux, macOS, Windows | mise use -g github:ShortArrow/runex |
| Homebrew tap | macOS, Linux | brew install shortarrow/runex/runex |
| AUR | Arch Linux | paru -S runex-bin |
| winget | Windows | winget install ShortArrow.runex |
| GitHub release archive | see the target list below | download, extract, put runex on PATH |
| APT repository | Debian, Ubuntu (amd64, arm64) | add pkg.shortarrow.jp, sudo apt install runex |
| Debian package | Debian, Ubuntu (amd64, arm64) | download, sudo apt install ./runex_<version>-1_<arch>.deb |
runex is published from a third-party tap, shortarrow/homebrew-runex. The fully qualified name installs in one step:
brew install shortarrow/runex/runexAdding the tap first lets you use the short name afterwards:
brew tap shortarrow/runex
brew install runexrunex-bin installs the release binary. The source package runex builds from crates.io instead. The two conflict with each other, so install one of them.
paru -S runex-bin # or: yay -S runex-binEach GitHub release attaches one archive per target. The targets come from .github/workflows/release.yml.
| Target | Archive |
|---|---|
x86_64-pc-windows-msvc |
zip |
x86_64-unknown-linux-gnu |
tar.gz |
aarch64-unknown-linux-gnu |
tar.gz |
x86_64-unknown-linux-musl |
tar.gz |
aarch64-unknown-linux-musl |
tar.gz |
x86_64-apple-darwin |
tar.gz |
aarch64-apple-darwin |
tar.gz |
aarch64-linux-android (Termux) |
tar.gz |
Extract runex from the archive and place it in a directory on your PATH.
On Linux, prefer the linux-musl archives. They are statically linked and start on any distribution, Ubuntu 22.04 and Debian 12 included. The linux-gnu archives are linked against the glibc of the build runner, 2.39 at present, and need that version or newer.
On Debian and Ubuntu (amd64, arm64), runex is published to the APT repository at https://pkg.shortarrow.jp/apt, which serves packages from ShortArrow's projects. Add its key and source once:
sudo curl -fsSL https://pkg.shortarrow.jp/apt/shortarrow-archive-keyring.gpg -o /usr/share/keyrings/shortarrow-archive-keyring.gpg
echo "deb [signed-by=/usr/share/keyrings/shortarrow-archive-keyring.gpg] https://pkg.shortarrow.jp/apt stable main" | sudo tee /etc/apt/sources.list.d/shortarrow.list
sudo apt update
sudo apt install shortarrow-archive-keyring runexInstall shortarrow-archive-keyring, the package that carries the key, by name as above: pulled in only as a dependency, apt autoremove could remove it. After this, sudo apt upgrade updates runex with the rest of the system.
A new runex release reaches the repository after the repository's maintainer approves its publication, so it can arrive later than the GitHub release.
To install without adding the repository, download the package from the release. Releases after v0.1.20 also attach runex_<version>-1_amd64.deb and runex_<version>-1_arm64.deb, which hold the musl binary as /usr/bin/runex and depend on no other package. Download the one for your architecture and install it with apt, which records it so apt remove runex takes it out again:
sudo apt install ./runex_<version>-1_amd64.debEach release is installed this way on Debian 12, Ubuntu 22.04 and Ubuntu 24.04 before it is published.
Check that the shell finds the binary:
runex versionIf the command is not found after cargo install, Cargo's bin directory is missing from PATH. Add ~/.cargo/bin on Linux and macOS, or %USERPROFILE%\.cargo\bin on Windows.
The shell integration runex generates and your config.toml become part of your shell environment. Load only files you trust, and review them before syncing them across machines.
Next: Setup wires runex into your shell.