RDX / docs

    Loading index

    getrdx.ioPricingSign in

    Reference

    Environment variables

    The environment variables that change how RDX and its installers behave.

    Most of RDX needs no configuration. These variables cover the terminal interface, updates, where RDX keeps its files, and the installers.

    Terminal interface#

    VariableValuesEffect
    RDX_TUI_THEMEnight (default), day, terminalColour theme for rdx tui. terminal uses your terminal's own colours.
    NO_COLORany non-empty valueTurns colour off in rdx tui. It wins over the theme.
    bash
    RDX_TUI_THEME=day rdx tui
    NO_COLOR=1 rdx tui

    Updates#

    VariableValuesEffect
    RDX_NO_AUTO_UPDATE1Stops rdx tui from updating itself as it opens. It matters only in builds that update the interface at launch. rdx update is not affected.

    State folder#

    VariableEffect
    RDX_STATE_DIRReplaces the folder where RDX keeps device history, pairing names and tracked machines. Without it RDX uses your Application Support folder on macOS and %LOCALAPPDATA%\rdx on Windows.

    Installer variables#

    The macOS installer is a shell script and the Windows installer is a PowerShell script. They share these settings.

    VariableWindows installermacOS installerEffect
    RDX_DL_BASEYesYesDownload base URL. The default is the official download host.
    RDX_VERSIONYesUse --versionInstall this release instead of the latest
    RDX_CHANNELYesUse --channelRelease channel, default release
    RDX_INSTALL_DIRYesUse --prefixInstall directory. Defaults: %LOCALAPPDATA%\Programs\RDX\bin on Windows, ~/.local/bin on macOS.
    RDX_UNINSTALLSet to 1Use --uninstallRemove the rdx command (and its PATH entry on Windows)
    RDX_DRY_RUNSet to 1Use --dry-runShow what would happen and change nothing

    Windows example:

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

    macOS example, using the script's options:

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