System commands (setup, --help, ...)
dcr setup
Shows configured registries from ~/.dcr/config.toml.
dcr setup If ~/.dcr/config.toml is not found, DCR returns an error. Create it manually:
[registry.default]
url = "https://index.dcr.pm"
priority = 1 dcr --help
Shows help for all commands.
dcr --help dcr --version
Shows version and target triple.
dcr --version # dcr 0.7.0 (x86_64-unknown-linux-gnu) dcr --update
Self-update. Downloads the latest release binary from GitHub Releases and replaces the current one.
dcr --update Features:
- Auto-detects platform and architecture
- Warns if installed via AUR (use package manager instead)
- Works on Linux, macOS, Windows