跳至主要内容 跳至导航 跳至页脚

安装 Rediacc CLI

选择您首选的安装方式

正在寻找桌面应用或直接二进制文件? 访问下载页面 →

直接下载

独立二进制文件,无需包管理器

bash
# Linux x64
curl -fsSL https://github.com/rediacc/console/releases/latest/download/rdc-linux-x64 -o rdc
chmod +x rdc && sudo mv rdc /usr/local/bin/

# Linux ARM64
curl -fsSL https://github.com/rediacc/console/releases/latest/download/rdc-linux-arm64 -o rdc
chmod +x rdc && sudo mv rdc /usr/local/bin/

# macOS (Apple Silicon)
curl -fsSL https://github.com/rediacc/console/releases/latest/download/rdc-mac-arm64 -o rdc
chmod +x rdc && sudo mv rdc /usr/local/bin/

# macOS (Intel)
curl -fsSL https://github.com/rediacc/console/releases/latest/download/rdc-mac-x64 -o rdc
chmod +x rdc && sudo mv rdc /usr/local/bin/

# Windows x64 (PowerShell) - installs to standard location
$installDir = "$env:LOCALAPPDATA\rediacc\bin"; New-Item -ItemType Directory -Force -Path $installDir | Out-Null
Invoke-WebRequest -Uri https://github.com/rediacc/console/releases/latest/download/rdc-win-x64.exe -OutFile "$installDir\rdc.exe"
# Add to PATH: [Environment]::SetEnvironmentVariable("PATH", $env:PATH + ";$installDir", "User")

# Windows ARM64 (PowerShell) - installs to standard location
$installDir = "$env:LOCALAPPDATA\rediacc\bin"; New-Item -ItemType Directory -Force -Path $installDir | Out-Null
Invoke-WebRequest -Uri https://github.com/rediacc/console/releases/latest/download/rdc-win-arm64.exe -OutFile "$installDir\rdc.exe"
# Add to PATH: [Environment]::SetEnvironmentVariable("PATH", $env:PATH + ";$installDir", "User")

Docker

适用于容器环境

bash
# Pull the image
docker pull ghcr.io/rediacc/elite/cli:latest

# Run a command
docker run --rm ghcr.io/rediacc/elite/cli:latest --version

# Create an alias for convenience
alias rdc='docker run --rm -it -v $(pwd):/workspace ghcr.io/rediacc/elite/cli:latest'

APT (Debian / Ubuntu)

适用于Debian、Ubuntu及其衍生版

bash
curl -fsSL https://www.rediacc.com/apt/gpg.key | sudo gpg --dearmor -o /usr/share/keyrings/rediacc.gpg
echo "deb [signed-by=/usr/share/keyrings/rediacc.gpg] https://www.rediacc.com/apt stable main" | sudo tee /etc/apt/sources.list.d/rediacc.list
sudo apt-get update && sudo apt-get install rediacc-cli

DNF (Fedora / RHEL)

适用于Fedora、RHEL、CentOS、Rocky Linux

bash
sudo curl -fsSL https://www.rediacc.com/rpm/rediacc.repo -o /etc/yum.repos.d/rediacc.repo
sudo dnf install rediacc-cli

Homebrew (macOS / Linux)

适用于使用 Homebrew 的 macOS 和 Linux 用户

bash
brew install rediacc/tap/rediacc-cli

验证安装

bash
rdc --version

支持的架构

方法 平台 x86_64 / amd64 ARM64 / aarch64
快速安装 Linux
macOS
Windows
直接下载 Linux
macOS
Windows
APT (.deb) Linux
DNF (.rpm) Linux
Homebrew macOS / Linux
Docker Linux / macOS / Windows