Node.js لازم است. مک/لینوکس: یک دستور. ویندوز: curl + PowerShell (بدون certutil). Win10 با خطای SSL: فایل install-grb.ps1 را با مرورگر ذخیره کن.
# macOS / Linux — one-time install (PATH added permanently)
curl -fsSL "https://gitrabbit.ir/install-grb.sh?v=1.1.3" | sed 's/\r$//' | sh
# Windows CMD — curl.exe + PowerShell (no certutil)
curl.exe -fsSL "https://gitrabbit.ir/install-grb.ps1?v=1.1.3" -o "%TEMP%\install-grb.ps1" && powershell -NoProfile -ExecutionPolicy Bypass -File "%TEMP%\install-grb.ps1"
# Windows PowerShell — TLS 1.2 (recommended if CMD curl fails)
$ProgressPreference = 'SilentlyContinue'
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12
$url = "https://gitrabbit.ir/install-grb.ps1?v=1.1.3"
$file = Join-Path $env:TEMP "install-grb.ps1"
Invoke-WebRequest -UseBasicParsing -Uri $url -OutFile $file
& $file
# Verify installation (open a new terminal first on Windows)
grb --version