Skip to content

EN Installation

Rio documentation edited this page Nov 16, 2026 · 3 revisions

Home · Guides · English · Português (Brasil)

Install, update and remove Rio

On this page:

Outcome

Install a verifiable binary, confirm which version is running, and know how to change or remove it.

Prerequisites

Linux, macOS or Windows on x64/arm64; network access to GitHub. Rio has only pre-releases so far; the installer picks the newest stable release, or the newest pre-release while no stable release exists. Source builds require the toolchain in rust-toolchain.toml.

Steps

On Linux/macOS, download and inspect the installer before running it:

curl -fsSL https://raw.githubusercontent.com/pixelinfinito/rio/main/scripts/install.sh -o install.sh
less install.sh
sh install.sh
rio --version

On Windows PowerShell 5.1 or 7:

Invoke-WebRequest https://raw.githubusercontent.com/pixelinfinito/rio/main/scripts/install.ps1 -OutFile install.ps1
Get-Content install.ps1
.\install.ps1
rio --version

Unix installs into ~/.local/bin and prints a PATH hint without editing shell startup files. Windows defaults to %LOCALAPPDATA%\Programs\rio\bin and adds that directory to user PATH; open a new terminal. -NoModifyPath disables that change.

To pin a published tag, use sh install.sh --version TAG --install-dir DIRECTORY or -Version TAG -InstallDir DIRECTORY. Substitute actual values. RIO_VERSION and RIO_INSTALL_DIR are environment equivalents; flags win. Repeating installation upgrades or downgrades atomically after a smoke check. RIO_DOWNLOAD_BASE supports an HTTPS mirror or a local directory with archives and SHA256SUMS; checksums still apply.

From a source checkout: install the pinned Rust toolchain, then cargo install --path crates/rio-cli --locked. Builds from archives can set RIO_BUILD_VERSION and RIO_BUILD_COMMIT explicitly.

Expected results

rio --version prints version, target triple and build commit. Installers verify SHA-256 before installing. To verify provenance of a downloaded archive, run gh attestation verify ARCHIVE --repo pixelinfinito/rio with its actual filename.

Troubleshooting

Command not found: check installation directory and PATH. No release found: the installer reports that none is published; choose an existing release tag or build from source, and do not infer availability from example version numbers. Checksum mismatch: stop and redownload the archive/checksum pair from the same release.

Remove with sh install.sh --uninstall or .\install.ps1 -Uninstall; personal configuration is retained. Add --purge/-Purge only to delete that configuration too. Environment equivalents are RIO_UNINSTALL=1 and RIO_PURGE=1. A source install is removed by cargo uninstall rio-cli. Repository caches require separate deliberate cleanup.

Next steps

Run your first local review.

Screenshots

Confirm the installed version, target and commit.

Confirm the installed version, target and commit. Demo data · actual Rio renderer · Text transcript.

Top-level help lists the available workflows.

Top-level help lists the available workflows. Demo data · actual Rio renderer · Text transcript.


Written for Rio 0.3.0 · source dc04f0b. Check your version with rio --version. Docs c99898ba629c.

Clone this wiki locally