CLI-Installation
18. Februar 2026 19. Februar 2026 v1.0.9
Installieren Sie das qapi CLI mit einer der folgenden Methoden.
Installationsskript (curl)
Der schnellste Weg zur Installation auf macOS oder Linux.
macOS / Linux — curl
curl -sSL https://docs.quantumapi.eu/cli/install.sh | sh
# Pin a specific version
curl -sSL https://docs.quantumapi.eu/cli/install.sh | sh -s -- v1.1.0Homebrew
Installation über Homebrew auf macOS oder Linux.
Homebrew (macOS / Linux)
brew install quantumapi-eu/tap/qapi
# Upgrade to latest
brew upgrade qapiWindows
Drei Installationsmethoden fuer qapi unter Windows. PowerShell wird empfohlen: keine Administratorrechte erforderlich, Installation im Benutzerprofil und automatisches Hinzufuegen zum PATH.
PowerShell — recommended (no admin required)
irm https://docs.quantumapi.eu/cli/install.ps1 | iex
# If you get an execution policy error:
powershell -ExecutionPolicy Bypass -Command "irm https://docs.quantumapi.eu/cli/install.ps1 | iex"
# Pin a specific version:
$env:QAPI_VERSION="1.1.0"; irm https://docs.quantumapi.eu/cli/install.ps1 | iexOeffnen Sie nach der Installation ein neues PowerShell-Fenster. Fuehren Sie qapi version zur Bestaetigung aus.
Manual (no PowerShell execution policy needed)
# Download the zip and extract manually
$v = "1.1.0"
Invoke-WebRequest "https://github.com/quantumapi-eu/qapi-cli/releases/download/v$v/qapi_${v}_windows_amd64.zip" -OutFile "$env:TEMPqapi.zip" -UseBasicParsing
Expand-Archive "$env:TEMPqapi.zip" -DestinationPath "$env:LOCALAPPDATAqapi" -Force
[System.Environment]::SetEnvironmentVariable("PATH", $env:PATH + ";$env:LOCALAPPDATAqapi", "User")
# Open a new terminal, then:
qapi versionnpm
Installation als globales npm-Paket.
npm — all platforms (requires Node.js ≥ 14)
npm install -g @quantumapi/cli
# pnpm
pnpm add -g @quantumapi/cliDirekter Download
Laden Sie vorkompilierte Binärdateien von GitHub herunter.
| Plattform | Architektur | Download |
|---|---|---|
| macOS | Apple Silicon (arm64) | qapi_1.1.0_darwin_arm64.tar.gz |
| macOS | Intel (amd64) | qapi_1.1.0_darwin_amd64.tar.gz |
| Windows | 64-bit (amd64) | qapi_1.1.0_windows_amd64.zip |
| Linux | 64-bit (amd64) | qapi_1.1.0_linux_amd64.tar.gz |
| Linux | ARM64 | qapi_1.1.0_linux_arm64.tar.gz |
Manual install (macOS / Linux)
curl -LO https://github.com/quantumapi-eu/qapi-cli/releases/latest/download/qapi_linux_amd64.tar.gz
tar -xzf qapi_linux_amd64.tar.gz
sudo mv qapi /usr/local/bin/ && chmod +x /usr/local/bin/qapi
qapi versionAlle Release-Binaerdateien sind auf der GitHub-Releases-Seite verfuegbar, inklusive SHA256-Pruefsummen.
Demnachst verfuegbar
Diese Installationsmethoden befinden sich in Entwicklung und werden in einer zukuenftigen Version verfuegbar sein.
Winget
winget install QuantumAPI.qapiChocolatey
choco install qapiDocker
docker run ghcr.io/quantumapi/qapiSnap
snap install qapiShell-Autovervollständigung
Aktivieren Sie die Autovervollständigung für Befehle und Flags.
Shell completions
# Bash
qapi completion bash > /etc/bash_completion.d/qapi
# Zsh
qapi completion zsh > "${fpath[1]}/_qapi"
# Fish
qapi completion fish > ~/.config/fish/completions/qapi.fish
# PowerShell
qapi completion powershell > qapi.ps1Automatische Aktualisierung
Das CLI kann sich mit einem einzigen Befehl selbst aktualisieren.
Self-update
# Update to latest version
qapi update
# Check current version
qapi version