rpx documentation

Install rpx

Install the rpx CLI on macOS, Linux, or Windows.

Prerequisites

Install R and make sure its R and Rscript commands are available on PATH.

Install R from the appropriate distribution if it is not already available:

rpx uses binary R packages on Windows and macOS when a selected repository provides them. It falls back to source packages when no usable binary is available. Source installation can require compilers, platform tools, and system libraries. Windows users may need Rtools.

macOS and Linux

Install the latest release with the shell installer:

Terminal
curl -LsSf https://rrepo.org/rpx/latest/rpx-installer.sh | sh

Windows

Install the latest release with PowerShell:

powershell
powershell -ExecutionPolicy Bypass -c "irm https://rrepo.org/rpx/latest/rpx-installer.ps1 | iex"

Install from Git

Install the current source with Cargo:

Terminal
cargo install --git https://github.com/rrepo-org/rpx.git

If Cargo is not installed, follow the rustup installation instructions.

Docker

Add rpx to your R container using the published Docker image:

dockerfile
FROM r-base:latest
COPY --link --from=ghcr.io/rrepo-org/rpx:latest /rpx /usr/local/bin/rpx