Update Red
Check for new releases, update a standalone installation, and migrate an older install.
Check and install a release
Official standalone installations support 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.
The updater verifies the archive's published SHA-256 checksum, candidate version, and bundled runtime before replacing the executable. From Red v0.10.0, it also checks the release's minisign signature on that checksum list first, so a release whose checksums were changed after signing is refused. Restart your editing sessions to use the new version. If a detached session is active, save and stop it before updating.
Migrate an older standalone installation
If you installed Red before v0.8.2, extracted an archive manually, or see an unmanaged-installation message, rerun the official installer once into your existing directory. It writes the installation receipt and lock file needed for managed updates. Save and close Red first, including detached sessions.
macOS and Linux
Use your existing install directory. This example uses the default ~/.local/bin:
curl --proto '=https' --tlsv1.2 -fsSL https://getred.dev/install.sh -o /tmp/red-install.sh
RED_INSTALL_DIR="$HOME/.local/bin" sh /tmp/red-install.shWindows
Replace -InstallDir if you use a directory other than the default:
$installer = Join-Path $env:TEMP "red-install.ps1"
Invoke-WebRequest https://getred.dev/install.ps1 -OutFile $installer
& $installer -InstallDir (Join-Path $env:LOCALAPPDATA "Programs\Red\bin")Run red --version and red update --check to verify your installation.
Homebrew and source builds
For Homebrew, run:
brew update
brew upgrade codersauce/tap/redSource builds use your existing build and install process. The standalone updater refuses to replace executables it doesn't own.
Choose when updates install
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 tells you to restart. Sessions that are already running keep their version until you restart them.
If another update or a detached session holds the installation, Red tries again at the next day's check. 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 a release is available.
To choose when updates install, set mode in ~/.config/red/config.toml and restart Red. Use "notify" to only announce new releases, or "off" to stop checking:
[updates]
mode = "notify" # "auto" (default), "notify", or "off"red update --check, red update, and :update remain available in every mode, including mode = "off".
Verify a release yourself
From Red v0.10.0, each release publishes SHA256SUMS.txt and its minisign signature, SHA256SUMS.txt.minisig. Download both next to the archive, save Red's release public key as release-signing.pub, and run:
minisign -Vm SHA256SUMS.txt -p release-signing.pub
shasum -a 256 -c SHA256SUMS.txt --ignore-missing