Use the update method that matches how you installed Red. The standalone updater supports macOS Intel and Apple Silicon, x86_64 glibc Linux, and x86_64 Windows.
Check for a newer stable release without changing your executable:
red update --checkInstall the latest stable release:
red updateInside the editor, run :update or choose Update Red in the command palette.
You can continue editing while the update worker runs. Before replacing the
executable, the updater checks that:
SHA256SUMS.txtcarries a minisign signature from Red's release key, issued for that exact release tag- the downloaded archive matches its SHA-256 checksum
- the new binary reports the expected version and passes its bundled runtime self-check
If any check fails, the installed executable stays unchanged. An exclusive installation lock prevents concurrent updates.
Restart your editing sessions after a successful update. Running sessions keep their current version. If a detached session is active, save and stop it before retrying the update.
If you installed Red before v0.8.2 or extracted an archive manually, rerun the v0.8.2 installer once. It writes the installation receipt and lock file that enable managed updates. Save and close Red first, including detached sessions.
On macOS or Linux, use your existing install directory. This example uses the
default ~/.local/bin:
curl --proto '=https' --tlsv1.2 -fsSL \
https://github.com/codersauce/red/releases/download/v0.8.2/install.sh \
-o /tmp/red-install-v0.8.2.sh
RED_VERSION=0.8.2 RED_INSTALL_DIR="$HOME/.local/bin" \
sh /tmp/red-install-v0.8.2.shOn Windows, run the release's PowerShell installer. Replace -InstallDir if you
use a directory other than the default:
$installer = Join-Path $env:TEMP "red-install-v0.8.2.ps1"
Invoke-WebRequest https://github.com/codersauce/red/releases/download/v0.8.2/install.ps1 -OutFile $installer
& $installer -Version 0.8.2 -InstallDir (Join-Path $env:LOCALAPPDATA "Programs\Red\bin")Run red --version and red update --check to confirm the installed version and
check for subsequent releases.
For Homebrew, run:
brew update
brew upgrade codersauce/tap/redFor a source build, rebuild and reinstall using your existing build process. The standalone updater refuses to replace executables it doesn't own.
Red checks for a newer stable release at most once per day. By default it
installs that release in the background, with the same verification as
red update, and then tells you to restart. Sessions that are already running
keep their version until you restart them.
Red postpones the installation to the next day's check while another update or a detached session holds the installation. If an automatic installation fails, Red shows a warning, keeps the current version, and tries again the next day. Homebrew and source builds aren't replaced; Red only tells you when a release is available.
To choose when updates are installed, set mode in ~/.config/red/config.toml
and restart Red:
[updates]
# "auto" (default) installs in the background, "notify" only announces new
# releases, and "off" disables the daily check.
mode = "notify"red update --check, red update, and :update remain available in every mode.
Each release publishes SHA256SUMS.txt and its minisign signature,
SHA256SUMS.txt.minisig. Red's release public key is in
install/release-signing.pub:
minisign -Vm SHA256SUMS.txt -p install/release-signing.pub
shasum -a 256 -c SHA256SUMS.txt --ignore-missing- Follow Getting started for day-to-day editor commands.
- See the installation guide for fresh installations or source-build instructions.