Instalar a CLI do Rediacc
Escolha o método de instalação da sua preferência
À procura de aplicações desktop ou binários diretos? Visite a página de Transferências →
Instalação Rápida
Recomendado - instalação automática com gestão de versões
bash
# Linux / macOS
curl -fsSL https://www.rediacc.com/install.sh | bashpowershell
# Windows (PowerShell)
irm https://www.rediacc.com/install.ps1 | iexTransferência Direta
Binário autónomo, sem gestor de pacotes
bash
# Linux x64
curl -fsSL https://releases.rediacc.com/cli/stable/rdc-linux-x64 -o rdc
chmod +x rdc && sudo mv rdc /usr/local/bin/
# Linux ARM64
curl -fsSL https://releases.rediacc.com/cli/stable/rdc-linux-arm64 -o rdc
chmod +x rdc && sudo mv rdc /usr/local/bin/
# macOS (Apple Silicon)
curl -fsSL https://releases.rediacc.com/cli/stable/rdc-mac-arm64 -o rdc
chmod +x rdc && sudo mv rdc /usr/local/bin/
# macOS (Intel)
curl -fsSL https://releases.rediacc.com/cli/stable/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://releases.rediacc.com/cli/stable/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://releases.rediacc.com/cli/stable/rdc-win-arm64.exe -OutFile "$installDir\rdc.exe"
# Add to PATH: [Environment]::SetEnvironmentVariable("PATH", $env:PATH + ";$installDir", "User")Docker
Para ambientes contentorizados
bash
# Pull the image
docker pull ghcr.io/rediacc/elite/cli:stable
# Run a command
docker run --rm ghcr.io/rediacc/elite/cli:stable --version
# Create an alias for convenience
alias rdc='docker run --rm -it -v $(pwd):/workspace ghcr.io/rediacc/elite/cli:stable'APT (Debian / Ubuntu)
Para Debian, Ubuntu e derivados
bash
curl -fsSL https://releases.rediacc.com/apt/stable/gpg.key | sudo gpg --dearmor -o /usr/share/keyrings/rediacc.gpg
echo "deb [signed-by=/usr/share/keyrings/rediacc.gpg] https://releases.rediacc.com/apt/stable stable main" | sudo tee /etc/apt/sources.list.d/rediacc.list
sudo apt-get update && sudo apt-get install rediacc-cliDNF (Fedora / RHEL)
Para Fedora, RHEL, CentOS, Rocky Linux
bash
sudo curl -fsSL https://releases.rediacc.com/rpm/stable/rediacc.repo -o /etc/yum.repos.d/rediacc.repo
sudo dnf install rediacc-cliAPK (Alpine Linux)
Para Alpine Linux e derivados
sh
# Add the repository
echo "https://releases.rediacc.com/apk/stable" | sudo tee -a /etc/apk/repositories
# Install (unsigned repo -- use --allow-untrusted)
sudo apk update
sudo apk add --allow-untrusted rediacc-cliPacman (Arch Linux)
Para Arch Linux e derivados
bash
# Add the repository to /etc/pacman.conf
echo "[rediacc]
SigLevel = Optional TrustAll
Server = https://releases.rediacc.com/archlinux/stable/\$arch" | sudo tee -a /etc/pacman.conf
# Install
sudo pacman -Sy rediacc-cliHomebrew (macOS / Linux)
Para utilizadores de macOS e Linux com Homebrew
bash
brew install rediacc/tap/rediacc-cliVerificar Instalação
bash
rdc --version Arquiteturas Suportadas
| Método | Plataforma | x86_64 / amd64 | ARM64 / aarch64 |
|---|---|---|---|
| Instalação Rápida | Linux | ✓ | ✓ |
| macOS | ✓ | ✓ | |
| Windows | ✓ | ✓ | |
| Transferência Direta | Linux | ✓ | ✓ |
| macOS | ✓ | ✓ | |
| Windows | ✓ | ✓ | |
| APT (.deb) | Linux | ✓ | ✓ |
| DNF (.rpm) | Linux | ✓ | ✓ |
| APK (.apk) | Linux (Alpine) | ✓ | ✓ |
| Pacman (.pkg.tar.zst) | Linux (Arch) | ✓ | ✓ |
| Homebrew | macOS / Linux | ✓ | ✓ |
| Docker | Linux / macOS / Windows | ✓ | ✓ |