macOS
brew install twitch-clilocal Homebrew formula metadata
brew
CLI to make developing on Twitch easier. Version 1.1.25 via Homebrew; verified 2026-04-25.
install
brew install twitch-clilocal Homebrew formula metadata
nix profile install nixpkgs#twitch-clinixpkgs package indexes · pkgs/by-name/tw/twitch-cli/package.nix · source: api.github.com
winget install --id Twitch.TwitchCLI -eWindows Package Manager source index · Twitch.TwitchCLI · source: cdn.winget.microsoft.com
choco install twitchChocolatey community package catalog · twitch · source: community.chocolatey.org
overview
CLI to make developing on Twitch easier
history
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.
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.
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.
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.
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.
security posture
narrow executable package without higher-risk signals.
green risk · low confidence · appliance
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
local files
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.
Config paths the tool may read or write during local use.
~/.twitch-cli/.twitch-cli.envCredential-bearing paths to review before unattended agent runs.
~/.twitch-cli/.twitch-cli.envexecutables
| Command | Kind | Exposure | Note |
|---|---|---|---|
twitch | cli | global executable |
freshness
These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.
https://github.com/twitchdev/twitch-cli
install metadata
| Package key | brew:twitch-cli |
|---|---|
| Version | 1.1.25 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/twitch-cli |
| Homepage | https://github.com/twitchdev/twitch-cli |
| Repository | https://github.com/twitchdev/twitch-cli |
| Upstream docs | https://dev.twitch.tv/docs/cli |
| License | Apache-2.0 |
| Source archive | https://github.com/twitchdev/twitch-cli/archive/refs/tags/v1.1.25.tar.gz |
| Last updated | 2026-04-25T05:08:13Z |
| Pulse | updated |
| Build dependencies | go |
| Bottle | available (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | twitch-cli |
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
twitch-cli
nix profile install nixpkgs#twitch-cliTwitch.TwitchCLI
winget install --id Twitch.TwitchCLI -etwitch
choco install twitchsource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.