New translations installation.mdx (German)

[ci skip]
This commit is contained in:
2026-10-21 21:18:14 +08:00
parent 86c0154c93
commit 7fbf5e466f

View File

@@ -11,7 +11,7 @@ Install and switch DCR versions (stable / dev / night, pin `0.8.2`, optional bui
### Linux / macOS / BSD / Windows (bash) ### Linux / macOS / BSD / Windows (bash)
```sh ```sh
curl -fsSL https://sh.dcr-tool.ru | sh -s -- self-install curl --proto '=https' --tlsv1.2 -sSf https://sh.dcr-tool.ru | sh -s -- self-install
export PATH="$HOME/.dcr/bin:$PATH" export PATH="$HOME/.dcr/bin:$PATH"
dcrup install stable dcrup install stable
``` ```
@@ -19,28 +19,19 @@ dcrup install stable
Non-interactive install of DCR in one shot: Non-interactive install of DCR in one shot:
```sh ```sh
curl -fsSL https://sh.dcr-tool.ru | sh -s -- install stable curl --proto '=https' --tlsv1.2 -sSf https://sh.dcr-tool.ru | sh -s -- install stable
export PATH="$HOME/.dcr/bin:$PATH" export PATH="$HOME/.dcr/bin:$PATH"
``` ```
### Windows (PowerShell) ### Windows (PowerShell)
```powershell ```powershell
irm https://ps1.dcr-tool.ru | iex & ([scriptblock]::Create((irm https://ps1.dcr-tool.ru))) self-install
# or download then run:
# irm https://ps1.dcr-tool.ru -OutFile dcrup.ps1
# powershell -File .\dcrup.ps1 self-install
# $env:Path += ";$env:USERPROFILE\.dcr\bin" # $env:Path += ";$env:USERPROFILE\.dcr\bin"
dcrup install stable dcrup install stable
``` ```
Optional cmd bootstrap (if you prefer `curl` of the cmd shim): After `self-install`, the command is **`dcrup`** (no `.sh` / `.ps1`) and is installed in `~/.dcr/bin` (Unix) or `%USERPROFILE%\.dcr\bin` (Windows).
```bat
curl -fsSL -o dcrup.cmd https://cmd.dcr-tool.ru
```
After `self-install`, the command is **`dcrup`** (no `.sh` / `.ps1`): shims live in `~/.dcr/bin` (Unix) or `%USERPROFILE%\.dcr\bin` (Windows `dcrup.cmd`).
### Common dcrup commands ### Common dcrup commands
@@ -58,6 +49,8 @@ dcrup update
dcrup list dcrup list
dcrup show dcrup show
dcrup which dcrup which
dcrup uninstall 0.8.2 # remove one installed version
dcrup uninstall --all # remove all installed versions
``` ```
Layout: `~/.dcr/toolchains/\<id>/dcr` and `~/.dcr/bin/dcr` → active version. Layout: `~/.dcr/toolchains/\<id>/dcr` and `~/.dcr/bin/dcr` → active version.