--- sidebar_label: Установка --- # Установка ## Linux (Dexoron Packages) Настройте менеджер пакетов на https://pkg.dexoron.su и установите: **Arch Linux** ```sh sudo pacman -Sy dcr ``` **Debian/Ubuntu** ```sh sudo apt update && sudo apt install dcr ``` **Fedora/RHEL** ```sh sudo dnf install dcr ``` ## Arch Linux (AUR) ```sh ура -S dcr ``` ## macOS / Linux (Homebrew) ```sh brew tap dexoron/dexoron brew install dcr ``` ## Snap (Linux) ```sh sudo snap install dcrup ``` ## Nix (flake) ```sh nix run github:dexoron/dcr # или установить в профиль: nix profile install github:dexoron/dcr ``` ## Cargo (crates.io) ```sh cargo install dcr ``` ## Linux / macOS (скрипт) ```sh curl -fsSL https://dcr.dexoron.su/install_bsd.sh | bash ``` ## BSD (скрипт) ```sh curl -fsSL https://dcr.dexoron.su/install.sh | bash ``` ## Windows (PowerShell) ```powershell irm https://dcr.dexoron.su/install.ps1 | iex ``` ## Из источника ```sh git clone https://github.com/dexoron/dcr.git cd dcr && cargo build --release ln -sf "$PWD/target/release/dcr" ~/.local/bin/dcr ``` ## После установки Проверьте установку: ```bash dcr setup ``` После установки становятся доступны man страницы: ```bash man dcr man dcr-build ``` Чтобы использовать реестр, создайте файл `~/.dcr/config.toml`: ```toml [registry.default] url = "https://index.dcr.pm" priority = 1 ```