QuantumAPI

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.0

Homebrew

Installation über Homebrew auf macOS oder Linux.

Homebrew (macOS / Linux)
brew install quantumapi-eu/tap/qapi

# Upgrade to latest
brew upgrade qapi

Windows

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 | iex
Oeffnen 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 version

npm

Installation als globales npm-Paket.

npm — all platforms (requires Node.js ≥ 14)
npm install -g @quantumapi/cli

# pnpm
pnpm add -g @quantumapi/cli

Direkter Download

Laden Sie vorkompilierte Binärdateien von GitHub herunter.

PlattformArchitekturDownload
macOSApple Silicon (arm64)qapi_1.1.0_darwin_arm64.tar.gz
macOSIntel (amd64)qapi_1.1.0_darwin_amd64.tar.gz
Windows64-bit (amd64)qapi_1.1.0_windows_amd64.zip
Linux64-bit (amd64)qapi_1.1.0_linux_amd64.tar.gz
LinuxARM64qapi_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 version
Alle 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.qapi

Chocolatey

choco install qapi

Docker

docker run ghcr.io/quantumapi/qapi

Snap

snap install qapi

Shell-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.ps1

Automatische Aktualisierung

Das CLI kann sich mit einem einzigen Befehl selbst aktualisieren.

Self-update
# Update to latest version
qapi update

# Check current version
qapi version
qapi — QuantumAPI CLI Documentation