Self Update
dcr –update
Automatic update to the latest version. Downloads a binary (not an archive) from GitHub Releases and replaces the current executable.
dcr --update How it works
- DCR detects the current platform and architecture
- Fetches the latest release from
api.github.com/repos/dexoron/dcr/releases/latest - Compares versions
- Downloads the matching asset (direct binary URL, not archive)
- Replaces the current executable via
self_replace
Asset naming
Pattern: dcr-<triple>-<version> or dcr-<triple>-<version>.exe
| Platform | Asset name |
|---|---|
| Linux x86_64 | dcr-x86_64-unknown-linux-gnu-0.9.6 |
| macOS x86_64 | dcr-x86_64-apple-darwin-0.9.6 |
| macOS ARM64 | dcr-aarch64-apple-darwin-0.9.6 |
| Windows x86_64 | dcr-x86_64-pc-windows-msvc-0.9.6.exe |
Older releases that published dcr-<triple> without the version suffix are
still accepted as a fallback.
AUR
If DCR was installed via AUR, --update shows a warning:
Update via package manager: yay/paru -Syu {package_name} or sudo pacman -Syu {package_name} Errors
- Cannot detect platform — error
- Cannot fetch release — error with URL
- No write permission — error (use
sudoor manual install)