pkg.soopen package index

brew / 排名 8356

使用 Homebrew, Nix, winget, chocolatey 安装 twitch-cli

查看 twitch-cli 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install twitch-cli

local Homebrew formula metadata

Linux

Nix已验证 · 92%
nix profile install nixpkgs#twitch-cli

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

概览

软件包摘要

CLI to make developing on Twitch easier

命令和别名

  • twitch

历史

项目历史与用法

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.

时间线

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

来源

  • 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/

安全态势

风险级别:绿色

narrow executable package without higher-risk signals.

风险分类器

绿色 风险 · 低 置信度 · appliance

原因

  • narrow executable package without higher-risk signals

信号

  • metadata:no-higher-risk-signals

安装行为

  • 未记录 Homebrew bottle 元数据。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

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

可执行文件

已安装的可执行文件

命令类型暴露范围备注
twitch可执行文件已索引可执行文件从本地可执行文件索引发现。

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-08-03
管理器版本1.1.25
管理器更新时间2026-07-26
本地数据未知
上游不可用
检测到的最新版本未检测到
  • OK没有生成新鲜度警告。

安装元数据

软件包元数据

软件包键brew:twitch-cli
版本1.1.25
软件包管理器Homebrew
主页https://github.com/twitchdev/twitch-cli
仓库https://github.com/twitchdev/twitch-cli
最后更新2026-07-26T03:12:23+02:00
Pulseupdated
Bottle未记录
服务未声明

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

Nix95%

twitch-cli

nix profile install nixpkgs#twitch-cli
  • normalized package name match
  • 匹配方式: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
  • 匹配方式: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
  • 匹配方式: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','trafficlight-chrome'

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

  • Geiger risk classifier
  • cross-ecosystem install command graph
  • curated configuration and credential file locations
  • curated package history
  • external package-manager database matches
  • pkg.so package database
  • pkgdb category and tag curation