Twitch CLI

Twitch CLI 1.1.24

The official Twitch CLI to make developing on Twitch easier.

  • By Twitch Developers
  • Open Source
  • Portable
  • Updated Jul 9, 2024
Download for Windows

About Twitch CLI

The official Twitch CLI to make developing on Twitch easier.

What's new in 1.1.24

Thank you to @BarryCarlyon for fixing the critical issue.

Full release notes »

Technical details

PublisherTwitch Developers
AuthorTwitch Interactive, Inc.
Version1.1.24
Release date2024-07-09
LicenseApache-2.0
Installer typezip
Architecturex86, x64
Package IDTwitch.TwitchCLI

Install Twitch CLI from the command line

Install with Windows Package Manager
winget install --id=Twitch.TwitchCLI -e
Update to the latest version
winget upgrade --id=Twitch.TwitchCLI -e
Uninstall
winget uninstall --id=Twitch.TwitchCLI -e

twitch

Twitch CLI version history

1.1.23 Jun 29, 2024

In this release:
Special thanks to @constantstress, @BarryCarlyon, @Dkamps18, @SputNikPlop, and @pixel365 for the PRs, contributions, and code reviews, and to @Robertsmania, @BarryCarlyon, and others for the bug reports and feature requests!
- WinGet instructions were added to README
- Added Device Code Flow support for twitch token. An additional error message is added when using a non-DCF flow on a client marked as "Public"
- Added --refresh and --secret to twitch token to allow for refreshing access tokens on-demand
- Added command to disable keepalive messages in EventSub WebSocket server: twitch event websocket keepalive --session=[Session ID] --enabled=[true/false]
- Added channel.ad_break.begin, and all unban request subscription types to mock EventSub
- Added a notice in the console when a new CLI version is available for upgrade. This check can be disabled in the configuration file.
- Fixed bug where keepalive_timeout_seconds wasn't always consistent after reconnect testing.

1.1.22 Dec 22, 2023

Special thanks to @SputNikPlop, @lleadbet, @Dkamps18, @aaricdev for the PRs, contributions, and code reviews, and to @dynamitejustice, @djavorszky, @aaricdev, @lleadbet, @BarryCarlyon for the bug reports and feature requests!

In this release:

  • Added GET /mock/channels/followers mock API endpoint
  • Added GET /mock/channels/followed mock API endpoint
  • Added --redirect-host flag to twitch token to change authentication redirect URL without affecting the webserver binding (#295)
  • Added --broadcaster flag to twitch event verify-subscription to pass broadcaster ID into the payload
  • Added twitch event configure command to set defaults for twitch event trigger (#96)
  • Added campaign_id field GET /mock/charity/campaigns (#300)
  • Added points field to GET /mock/subscriptions (#302)
  • Added is_feature field to GET /mock/clips
  • Removed deprecated channel.follow v1 mock EventSub event
  • Removed deprecated /mock/users/follows mock API endpoint
  • Fixed EventSub WebSocket not returning 410 Gone response code on POST /eventsub/subscriptions for removed versions
  • Fixed segmentation issue when running twitch token (#289)
  • Fixed issue with twitch event verify-subscription not working when an event has multiple versions (#288)
  • Fixed misspelled "amount" field in GET /mock/charity/campaigns (#300)
  • Fixed Mock API scope name to correctly be moderator:manage:shoutouts (#301)
  • Fixed response status code for PUT /mock/chat/color to correctly return 204 (#302) …
1.1.21 Oct 10, 2023

Special thanks to @lleadbet, @BarryCarlyon, @SputNikPlop, @alanwsmith, and @kenranunderscore for the PRs, contributions, and code reviews, and to @frifugio, @MrSniFo, and @BarryCarlyon for the bug reports and feature requests.

In this release:

  • Fixed JSON response data formatting issue with PATCH /mock/entitlements/drops
  • Fixed issue in twitch event trigger channel.subscribe where is_gift will be incorrectly set to false despite the Gifter's User ID being set.
  • Fixed missing charity description and website fields in channel.charity_campaign.start and channel.charity_campaign.stop mock events
  • Fixed typo in help description for --scopes flag on twitch token
  • Fixed EventSub WebSocket server showing Client ID instead of Subscription ID when calling GET /eventsub/subscriptions
  • Fixed EventSub WebSocket server to only show subscriptions disabled less than 1 hour ago when calling GET /eventsub/subscriptions
  • Added --ban-start and --ban-end flags to twitch event trigger to affect the ban start and end fields for channel.ban
  • Added -v flag to twitch api to display header information for the HTTP request and response, similar to curl
  • Added --revoke flag for twitch token
  • Added missing portions of twitch token documentation
  • Changed mock EventSub to only support IPv4 in callback validation/checking …

Other versions

  • 1.1.20

Frequently asked questions

Is Twitch CLI free?

Yes. Twitch CLI is free and open-source software released under the Apache-2.0 license.

What is the latest version of Twitch CLI?

The latest version is 1.1.24, released on Jul 9, 2024.

Is it safe to download Twitch CLI?

The download button links to the official installer published on github.com, the same file Windows Package Manager installs. You can verify the downloaded file by comparing its SHA-256 checksum with 6053f3fab02aa1349f25efa550d14e11033c10c775787367ca4fd88d96b1ce70.

Which Windows versions does Twitch CLI support?

Twitch CLI runs on Windows and is available for 32-bit (x86), 64-bit (x64) systems.

How do I uninstall Twitch CLI?

Open Settings › Apps › Installed apps, find Twitch CLI and select Uninstall. From the command line, run winget uninstall --id=Twitch.TwitchCLI -e.

Is there a portable version of Twitch CLI?

Yes. Twitch CLI is available as a portable ZIP archive (twitch-cli_1.1.24_Windows_x86_64.zip, 64-bit (x64)) that runs without installation. Copy it to any folder or USB drive and run it from there.