Installation
Install Rewire on macOS or Linux.
Pick the installation method that best fits your setup. The package always includes both rewire
(the bridge) and rewire-viewer (the custom Rerun-based viewer).
The fastest way to install Rewire — detects your OS and architecture, downloads the latest
binaries, and installs them to ~/.local/bin.
curl -fsSL https://rewire.run/install.sh | shThat target is a directory you own, so later upgrades never need sudo. The script tells you
which line to add to your shell profile when ~/.local/bin is not on your PATH. Override the
location with INSTALL_DIR, keeping in mind that a root-owned directory makes every upgrade
require sudo.
curl -fsSL https://rewire.run/install.sh | INSTALL_DIR=/usr/local/bin shThe script installs the latest release unless you name one. Set REWIRE_VERSION to pin a specific
version, which is the way back to a known-good build if a release regresses on your setup.
curl -fsSL https://rewire.run/install.sh | REWIRE_VERSION=0.9.1 shWhen an older copy of rewire comes first on your PATH, the script warns that it shadows the new install and
prints how to clear it. Re-running with REWIRE_REMOVE_SHADOWED=1 removes that copy for you.
Supported platforms
| OS | Architecture |
|---|---|
| macOS | aarch64 (Apple Silicon) |
| Linux | x86_64, aarch64 |
Intel macOS is not supported. No build is published for it, and Rosetta cannot run an Apple Silicon binary on an Intel machine. Building from source is the only option there.
Verify installation
rewire --versionUpdating
rewire upgradeBoth rewire and rewire-viewer are updated, and neither needs sudo when they live in a directory you own.
If an earlier version installed rewire into /usr/local/bin, run the relocation once — without sudo — to
move both binaries into ~/.local/bin. An install placed there cannot move itself, so it keeps asking for
sudo on every upgrade until you do.
rewire upgrade --relocateRewire checks for new versions in the background, at most once a day, and notifies you when an update is available. Upgrading in place only works for installs made by the install script, and it replaces both the bridge and the viewer, each against its own latest release.
An install that predates ~/.local/bin sits in a root-owned directory, so upgrading it asks for
sudo every time. Remove the old copies and reinstall once to be rid of that.
sudo rm -f /usr/local/bin/rewire /usr/local/bin/rewire-viewer
curl -fsSL https://rewire.run/install.sh | shUninstalling
rewire uninstallBoth binaries go, along with the cached update check. Your config file and logs stay
where they are, so reinstalling later lands on the settings you had. Add --purge to remove those
too, and -y to skip the confirmation prompt — see
rewire uninstall.
rewire uninstall only removes an install the script made. If a package manager owns it, the
command refuses and names the one to run instead, so nothing deletes a file out from under dpkg
or brew.
