Documentation

System commands (setup, --help, ...)

dcr setup

Shows configured registries from ~/.dcr/config.toml.

Terminal
dcr setup

If ~/.dcr/config.toml is not found, DCR returns an error. Create it manually:

Editor
[registry.default]
url = "https://index.dcr.pm"
priority = 1

dcr --help

Shows help for all commands.

Terminal
dcr --help

dcr --version

Shows version and target triple.

Terminal
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.

Terminal
dcr --update

Features:

  • Auto-detects platform and architecture
  • Warns if installed via AUR (use package manager instead)
  • Works on Linux, macOS, Windows