Like uvx but for Rust — download and run pre-built crate binaries without a Rust toolchain.
rvx ripgrep -- --version
rvx [email protected] -- README.md
rvx --bin parry parry-ai # when binary name differs from cratervx --list # show cached binaries
rvx --clean # clear cache
rvx --update ripgrep # force re-download| Flag | Description |
|---|---|
--bin <name> |
Binary name if it differs from the crate name |
--update |
Re-download even if cached |
--list |
List cached binaries |
--clean |
Remove all cached binaries |
--quiet, -q |
Suppress download output |
- Check local cache (
~/.rvx) - Query crates.io for version and binstall metadata
- Resolve binary from binstall template or GitHub releases
- Download, verify SHA256 checksum, extract
- Cache and exec (Unix
exec()replaces current process)
Supports .tar.gz, .tar.xz, .tar.zst, and .zip archives.
Linux / macOS:
curl -fsSL https://raw.githubusercontent.com/vaporif/rvx/main/install.sh | shWindows (PowerShell) (untested):
irm https://raw.githubusercontent.com/vaporif/rvx/main/install.ps1 | iexNix:
nix profile install github:vaporif/rvxOr run without installing:
nix run github:vaporif/rvx -- ripgrep --versionFrom source:
cargo install --git https://github.com/vaporif/rvx| Environment Variable | Default | Description |
|---|---|---|
GITHUB_TOKEN |
— | GitHub API token (avoids rate limits) |
RVX_HOME |
~/.rvx |
Override cache directory |
cargo build
cargo test
cargo clippy -- -D warnings
cargo fmtMIT