Перейти к основному содержимому

Установка

Linux (Dexoron Packages)

Настройте менеджер пакетов на https://dcr.dexoron.su и установите:

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

dcr setup

Команда создаёт ~/.dcr/ с дефолтным config.toml и скачивает публичный реестр.