mirror of
https://github.com/dexoron/dcr.git
synced 2026-10-22 18:19:41 +00:00
New translations installation.mdx (Russian)
[ci skip]
This commit is contained in:
@@ -29,7 +29,7 @@ sudo dnf install dcr
|
|||||||
## Arch Linux (AUR)
|
## Arch Linux (AUR)
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
yay -S dcr
|
ура -S dcr
|
||||||
```
|
```
|
||||||
|
|
||||||
## macOS / Linux (Homebrew)
|
## macOS / Linux (Homebrew)
|
||||||
@@ -37,8 +37,6 @@ yay -S dcr
|
|||||||
```sh
|
```sh
|
||||||
brew tap dexoron/dexoron
|
brew tap dexoron/dexoron
|
||||||
brew install dcr
|
brew install dcr
|
||||||
# or
|
|
||||||
brew install dexoron/dexoron/dcr
|
|
||||||
```
|
```
|
||||||
|
|
||||||
## Snap (Linux)
|
## Snap (Linux)
|
||||||
@@ -51,7 +49,7 @@ sudo snap install dcrup
|
|||||||
|
|
||||||
```sh
|
```sh
|
||||||
nix run github:dexoron/dcr
|
nix run github:dexoron/dcr
|
||||||
# or install to profile:
|
# или установить в профиль:
|
||||||
nix profile install github:dexoron/dcr
|
nix profile install github:dexoron/dcr
|
||||||
```
|
```
|
||||||
|
|
||||||
@@ -61,13 +59,13 @@ nix profile install github:dexoron/dcr
|
|||||||
cargo install dcr
|
cargo install dcr
|
||||||
```
|
```
|
||||||
|
|
||||||
## Linux / macOS (script)
|
## Linux / macOS (скрипт)
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
curl -fsSL https://dcr.dexoron.su/install_bsd.sh | bash
|
curl -fsSL https://dcr.dexoron.su/install_bsd.sh | bash
|
||||||
```
|
```
|
||||||
|
|
||||||
## BSD (script)
|
## BSD (скрипт)
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
curl -fsSL https://dcr.dexoron.su/install.sh | bash
|
curl -fsSL https://dcr.dexoron.su/install.sh | bash
|
||||||
@@ -79,7 +77,7 @@ curl -fsSL https://dcr.dexoron.su/install.sh | bash
|
|||||||
irm https://dcr.dexoron.su/install.ps1 | iex
|
irm https://dcr.dexoron.su/install.ps1 | iex
|
||||||
```
|
```
|
||||||
|
|
||||||
## From source
|
## Из источника
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
git clone https://github.com/dexoron/dcr.git
|
git clone https://github.com/dexoron/dcr.git
|
||||||
@@ -87,22 +85,22 @@ cd dcr && cargo build --release
|
|||||||
ln -sf "$PWD/target/release/dcr" ~/.local/bin/dcr
|
ln -sf "$PWD/target/release/dcr" ~/.local/bin/dcr
|
||||||
```
|
```
|
||||||
|
|
||||||
## Post-install
|
## После установки
|
||||||
|
|
||||||
Verify the installation:
|
Проверьте установку:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
dcr setup
|
dcr setup
|
||||||
```
|
```
|
||||||
|
|
||||||
Man pages are available after installation:
|
После установки становятся доступны man страницы:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
man dcr
|
man dcr
|
||||||
man dcr-build
|
man dcr-build
|
||||||
```
|
```
|
||||||
|
|
||||||
Команда создаёт `~/.dcr/` с дефолтным `config.toml` и скачивает публичный реестр.
|
Чтобы использовать реестр, создайте файл `~/.dcr/config.toml`:
|
||||||
|
|
||||||
```toml
|
```toml
|
||||||
[[registry]]
|
[[registry]]
|
||||||
|
|||||||
Reference in New Issue
Block a user