RDX / docs

    Loading index

    getrdx.ioPricingSign in

    Getting started

    Install

    Install the rdx command on macOS (Apple silicon) or Windows (x64), see what the installer verifies, and uninstall cleanly.

    One command installs the rdx command-line tool on macOS or Windows.

    Supported platforms#

    PlatformStatusInstaller
    macOS (Apple silicon)Supportedinstall.sh
    Windows (x64)Supportedinstall.ps1
    Linux (x64, arm64)SupportedThe app (.deb or .tar.gz), or install.sh

    Intel Macs, 32-bit Windows and Windows on Arm are not supported. The macOS installer stops with a message on an Intel Mac, and the Windows installer stops on anything other than x64.

    macOS (Apple silicon)#

    bash
    curl -fsSL https://getrdx.io/install.sh | bash

    The script installs one file, ~/.local/bin/rdx, and prints the version it installed. It needs curl or wget, tar, shasum or sha256sum, and the macOS codesign and spctl tools (all present on a normal Mac).

    Choose a version, channel or folder#

    Pass options after -s --:

    bash
    curl -fsSL https://getrdx.io/install.sh | bash -s -- --version 0.1.0
    curl -fsSL https://getrdx.io/install.sh | bash -s -- --prefix ~/bin
    curl -fsSL https://getrdx.io/install.sh | bash -s -- --dry-run
    OptionMeaning
    --version XInstall release X instead of the latest. A leading v is accepted.
    --channel CInstall from channel C. The default is release.
    --prefix DIRInstall into DIR instead of ~/.local/bin.
    --uninstallRemove DIR/rdx.
    --dry-runShow what would be downloaded and installed, and change nothing.
    --helpPrint the installer's usage.

    Channel and version names may contain only letters, digits, ., _, - (and + in versions).

    Put rdx on your PATH#

    If the install folder is not already on your PATH, the installer prints the line to add:

    bash
    export PATH="$HOME/.local/bin:$PATH"

    Add it to your shell profile (~/.zshrc for the default macOS shell), then open a new terminal and check:

    bash
    rdx --version

    Windows (x64)#

    In PowerShell:

    powershell
    irm https://getrdx.io/install.ps1 | iex

    The script installs %LOCALAPPDATA%\Programs\RDX\bin\rdx.exe and adds that folder to your user PATH. Open a new terminal afterwards so the change takes effect.

    Because irm ... | iex cannot take parameters, options are environment variables, set in the same session first:

    powershell
    $env:RDX_VERSION = "0.1.0"
    $env:RDX_DRY_RUN = "1"
    irm https://getrdx.io/install.ps1 | iex
    VariableMeaning
    RDX_VERSIONInstall this release instead of the latest.
    RDX_CHANNELChannel to install from. The default is release.
    RDX_INSTALL_DIRInstall folder. The default is %LOCALAPPDATA%\Programs\RDX\bin.
    RDX_UNINSTALLSet to 1 to remove rdx.exe and its PATH entry.
    RDX_DRY_RUNSet to 1 to show what would happen and change nothing.

    Remove the variables (Remove-Item Env:RDX_DRY_RUN) before running a real install in the same session.

    What the installer verifies#

    Both installers fetch a small manifest for the release, then check the download before anything is placed on your computer:

    • The archive size matches the manifest.
    • The archive's SHA-256 checksum matches the manifest.
    • The archive contains no absolute paths or .. path components, so it cannot write outside its own folder.
    • On macOS, the rdx binary passes codesign --verify --strict and Gatekeeper's spctl --assess.

    If any check fails, the installer stops with a message and installs nothing. The file is copied into place only after every check passes, and a half-finished download cannot leave a partial install behind.

    Check that it worked#

    bash
    rdx --version
    rdx doctor

    rdx doctor is read-only: it reports what this computer can do and never asks for permissions. See rdx doctor.

    Uninstall#

    First stop hosting and remove sign-in startup, if you set it up:

    bash
    rdx host --daemon-remove

    Then remove the command.

    On macOS:

    bash
    curl -fsSL https://getrdx.io/install.sh | bash -s -- --uninstall

    Add --prefix DIR if you installed somewhere else, and --dry-run to preview. On Windows:

    powershell
    $env:RDX_UNINSTALL = "1"
    irm https://getrdx.io/install.ps1 | iex

    Uninstalling removes only the rdx file (and, on Windows, its PATH entry). Saved pairings and components stay on disk. Running rdx host --daemon-remove first also removes the sign-in startup entry; saved pairings are kept either way.

    Linux#

    The same install.sh installs the rdx command on 64-bit Linux (x64 or arm64).

    sh
    curl -fsSL https://getrdx.io/install.sh | sh

    It installs into ~/.local/bin, checks the download against the release manifest's SHA-256 and that it is a Linux program for your computer, and rdx update keeps it current from then on. The RDX app for Linux, which carries its own rdx, is on the home page's download links as a .deb or a .tar.gz for x64 and arm64.

    Next#

    Continue to the Quickstart.