Skip to main content

Installation

Linux (Dexoron Packages)

Configure your package manager at https://dcr.dexoron.su and install:

Arch Linux

sudo pacman -Sy dcr

Debian/Ubuntu

sudo apt update && sudo apt install dcr

Fedora/RHEL

sudo dnf install dcr

Arch Linux (AUR)

yay -S dcr

macOS / Linux (Homebrew)

brew tap dexoron/dexoron
brew install dcr

Nix (flake)

nix run github:dexoron/dcr
# or install to profile:
nix profile install github:dexoron/dcr

Cargo (crates.io)

cargo install dcr

Linux / macOS (script)

curl -fsSL https://dcr.dexoron.su/install.sh | bash

BSD (script)

curl -fsSL https://dcr.dexoron.su/install_bsd.sh | bash

Windows (PowerShell)

irm https://dcr.dexoron.su/install.ps1 | iex

From source

git clone https://github.com/dexoron/dcr.git
cd dcr && cargo build --release
ln -sf "$PWD/target/release/dcr" ~/.local/bin/dcr

Post-install

Verify the installation:

dcr --version

To use the registry, create ~/.dcr/config.toml:

[[registry]]
name = "default"
url = "https://index.dcr.pm"