Automic VaultAutomic Vault

brew

twitch-cli mit Homebrew, Nix, winget, chocolatey installieren

Prüfe Installationswege, Executables, Metadaten und Sicherheitshinweise für twitch-cli in AI-Agent-Workflows.

Installation

Weitere Installationsbefehle

macOS

Homebrewverifiziert · 100%
brew install twitch-cli

local Homebrew formula metadata

Linux

Nixverifiziert · 92%
nix profile install nixpkgs#twitch-cli

nixpkgs package indexes · pkgs/by-name/tw/twitch-cli/package.nix · Quelle: api.github.com

Windows

Windows Package Managerverifiziert · 92%
winget install --id Twitch.TwitchCLI -e

Windows Package Manager source index · Twitch.TwitchCLI · Quelle: cdn.winget.microsoft.com

Chocolateyverifiziert · 92%
choco install twitch

Chocolatey community package catalog · twitch · Quelle: community.chocolatey.org

Überblick

Paketzusammenfassung

CLI to make developing on Twitch easier

Befehle und Aliase

  • twitch

Verlauf

Projektgeschichte und Nutzung

Twitch CLI is Twitch's official command-line tool for Twitch developer workflows. It packages API calls, OAuth token generation, mock API data, and EventSub testing into a single `twitch` executable.

Projektgeschichte

Twitch announced the CLI on 2020-12-17 after Developer Day, alongside EventSub. The initial rationale was practical: developers needed a supported way to test webhook/EventSub migrations locally, generate tokens, and query Twitch APIs without building staging servers or relying on extra tunneling tools.

From the start, Twitch framed the CLI as a Twitch-supported open-source project on GitHub, intended to accept community contributions and grow into additional EventSub and developer-product support. The current official docs describe installation through Homebrew on macOS/Linux, Scoop on Windows, and manual release downloads.

Adoptionsgeschichte

The CLI's adoption is tied to Twitch's developer ecosystem rather than general-purpose programming. Twitch's own community resources list it as the official CLI, created by Twitch and contributors, for testing API calls, mock APIs, EventSub WebSocket servers, and mock EventSub payloads.

Package-manager adoption follows that developer support path: Homebrew and Scoop are documented by Twitch as installation methods, while the input facts also show availability through Nix and Windows package channels.

Wie es verwendet wird

Typical use starts with `twitch configure`, which stores a client ID and client secret in the default config file, then uses commands such as `twitch token`, `twitch api`, `twitch mock-api`, and `twitch event`.

For local development, users generate mock data with `twitch mock-api generate`, start a mock server on localhost, trigger webhook events, and test EventSub WebSocket client behavior including subscriptions, reconnects, close messages, and status changes.

Warum Paket-Nerds sich dafür interessieren

Twitch CLI is significant to package nerds because it turns a vendor API platform into a locally scriptable test harness. It is not just a convenience wrapper around HTTP calls; it also packages mock state, OAuth token flows, webhook signing behavior, and EventSub simulations.

Its official Homebrew and Scoop instructions show the package-manager role clearly: Twitch wanted developers to install and update the tool through familiar package workflows instead of copying binaries by hand.

Zeitleiste

  • 2020-12-17: Twitch announces the official Twitch CLI in open beta.
  • 2021: Official docs show mock API generation examples and local server workflows.
  • 2020s: Official docs list Homebrew, Scoop, and manual releases as supported installation paths.
  • 2020s: Twitch documents EventSub WebSocket simulation and mock subscription endpoints in the CLI.

Related projects

  • Twitch EventSub is the main API product that motivated the CLI's event-testing features.
  • Twitch Developer Day introduced the products around which the CLI was announced.
  • Homebrew, Scoop, and the twitchdev GitHub organization are the main packaging and source distribution channels.

Quellen

  • Official Twitch CLI docs: https://dev.twitch.tv/docs/cli/
  • Official WebSocket EventSub testing docs: https://dev.twitch.tv/docs/cli/websocket-event-command
  • Official mock API docs: https://dev.twitch.tv/docs/cli/mock-api-command
  • Twitch announcement blog: https://blog.twitch.tv/en/2020/12/17/introducing-the-twitch-command-line-interface-tool/
  • Twitch community resources: https://dev.twitch.tv/code/

Sicherheitslage

Risikostufe: grün

narrow executable package without higher-risk signals.

Risikoklassifikator

grün Risiko · niedrig Konfidenz · appliance

Warum

  • narrow executable package without higher-risk signals

Signale

  • metadata:no-higher-risk-signals

Installationsverhalten

  • In den Formelmetadaten ist kein Homebrew-Post-install-Hook erfasst.
  • Homebrew-Bottle-Metadaten sind für 6 Plattformziele verfügbar.
  • Build-Metadaten listen 1 Build-Abhängigkeiten.

Empfohlene Prüfung

Prüfe vor unbeaufsichtigter Agent-Nutzung, ob das Tool Klartext-Credentials liest, Remote-Zustand schreibt, Artefakte veröffentlicht oder Plugins ausführt.

local files

Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.

Configuration files

Config paths the tool may read or write during local use.

Unix
~/.twitch-cli/.twitch-cli.env

Credential files

Credential-bearing paths to review before unattended agent runs.

Unix
~/.twitch-cli/.twitch-cli.env

Executables

Installierte Executables

BefehlArtSichtbarkeitHinweis
twitchcliglobales Executable

Aktualität

Version und Aktualität

Diese Signale trennen das Alter der Seitengenerierung, Aktivität des Paketmanagers und Upstream-Release-Vergleich. Versionsrückstand wird nur gemeldet, wenn eine Evidenz-URL und vergleichbare Versionen vorhanden sind.

Seite generiert2026-07-26
Manager-Version1.1.25
Manager aktualisiert
lokale DatenOK
Upstreamaktuell
neueste erkannte Versionv1.1.25

https://github.com/twitchdev/twitch-cli

  • InfoNo package-manager update timestamp was available.niedrig Konfidenz

Installationsmetadaten

Paketmetadaten

Paketschlüsselbrew:twitch-cli
Version1.1.25
PaketmanagerHomebrew
Paketmanager-Seitehttps://formulae.brew.sh/formula/twitch-cli
Homepagehttps://github.com/twitchdev/twitch-cli
Repositoryhttps://github.com/twitchdev/twitch-cli
Upstream-Dokumentationhttps://dev.twitch.tv/docs/cli
LizenzApache-2.0
Quellarchivhttps://github.com/twitchdev/twitch-cli/archive/refs/tags/v1.1.25.tar.gz
Build-Abhängigkeitengo
Bottleverfügbar (auf arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-installnicht definiert
Dienstkeiner deklariert

Registry-Fakten

Details aus der Quelldatenbank

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Nametwitch-cli
Version Scheme0
Revision0
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

Source-Datenbank-Treffer

Andere Paketmanager-Einträge

Treffer stammen aus externen Paketmanager-Indizes und bleiben von lokalen Automic-Vault-Paketlinks getrennt.

Nix95%

twitch-cli

nix profile install nixpkgs#twitch-cli
  • normalized package name match
  • Abgeglichen nach: Twitch Cli
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/tw/twitch-cli/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
winget95%

Twitch.TwitchCLI

winget install --id Twitch.TwitchCLI -e
  • normalized package name match
  • Abgeglichen nach: Twitch Cli
Windows Package Manager source index · cdn.winget.microsoft.com · Windows Package Manager source index: Twitch.TwitchCLI from https://cdn.winget.microsoft.com/cache/source.msix
Chocolatey92%

twitch

choco install twitch
  • installed executable or alias match
  • Abgeglichen nach: Twitch
Chocolatey community package catalog · community.chocolatey.org · Chocolatey community package catalog: twitch from http://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='11','timberwinr'

Quellspur

Aus Repository-Daten generiert

Diese Seite wird von av-web aus dem privaten Paket-SQLite-Artefakt bereitgestellt, das scripts/generate-pkg-sqlite.py erstellt.

Verwendete Quellen

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated configuration and credential file locations
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment