Skip to main content

System Commands

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]]
name = "default"
url = "https://index.dcr.pm"

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