macOS
brew install twitch-clilocal Homebrew formula metadata
安装
brew install twitch-clilocal Homebrew formula metadata
nix profile install nixpkgs#twitch-clinixpkgs package indexes · pkgs/by-name/tw/twitch-cli/package.nix · 来源: api.github.com
winget install --id Twitch.TwitchCLI -eWindows Package Manager source index · Twitch.TwitchCLI · 来源: cdn.winget.microsoft.com
choco install twitchChocolatey community package catalog · twitch · 来源: community.chocolatey.org
概览
CLI to make developing on Twitch easier
历史
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.
安全态势
narrow executable package without higher-risk signals.
绿色 风险 · 低 置信度 · appliance
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
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.env可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
twitch | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://github.com/twitchdev/twitch-cli
安装元数据
| 软件包键 | brew:twitch-cli |
|---|---|
| 版本 | 1.1.25 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/twitch-cli |
| 主页 | https://github.com/twitchdev/twitch-cli |
| 仓库 | https://github.com/twitchdev/twitch-cli |
| 上游文档 | https://dev.twitch.tv/docs/cli |
| 许可证 | Apache-2.0 |
| 源码归档 | https://github.com/twitchdev/twitch-cli/archive/refs/tags/v1.1.25.tar.gz |
| 构建依赖 | go |
| Bottle | 可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| 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 |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
twitch-cli
nix profile install nixpkgs#twitch-cliTwitch.TwitchCLI
winget install --id Twitch.TwitchCLI -etwitch
choco install twitch来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.