Automic VaultAutomic Vault

brew

twitch-cli を Homebrew, Nix, winget, chocolatey でインストール

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

インストール挙動

  • formula メタデータに Homebrew post-install フックは記録されていません。
  • Homebrew bottle メタデータは 6 個のプラットフォームターゲットで利用できます。
  • ビルドメタデータには 1 件のビルド依存関係があります。

推奨レビュー

エージェントに無人実行させる前に、このツールが平文の認証情報を読むか、リモート状態を書き込むか、成果物を公開するか、プラグインを起動するかを確認してください。

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

実行可能ファイル

インストールされる実行可能ファイル

コマンド種類公開範囲メモ
twitchcliグローバル実行可能ファイル

鮮度

バージョンと鮮度

これらの信号は、ページ生成時期、パッケージマネージャの活動、上流リリース比較を分けて示します。バージョン遅れは、証拠 URL と比較可能なバージョンがある場合だけ警告されます。

ページ生成日2026-07-26
マネージャ版1.1.25
マネージャ更新日
ローカルデータOK
上流最新
検出された最新v1.1.25

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

  • 情報No package-manager update timestamp was available.信頼度 低

インストールメタデータ

パッケージメタデータ

パッケージキー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 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

ソースデータベース一致

他のパッケージマネージャ記録

一致は外部パッケージマネージャインデックスから取得され、ローカルの 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','timberwinr'

ソース経路

リポジトリデータから生成

このページは scripts/generate-pkg-sqlite.py が生成した非公開のパッケージ SQLite アーティファクトから av-web によって提供されます。

使用ソース

  • 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