There are two options to download/install the Twitch CLI for each platform.
If you are using MacOS or Linux, we recommend using Homebrew for installing the CLI as it will also manage the versioning for you.
To install via Homebrew, run brew install twitchdev/twitch/twitch-cli
and it'll be callable via twitch
.
If you are using Windows, we recommend using Scoop for installing the CLI, as it'll also manage versioning.
To install via Scoop, run:
scoop bucket add twitch https://github.com/twitchdev/scoop-bucket.git
scoop install twitch-cli
This will install it into your path, and it'll be callable via twitch
.
To download, go to the Releases tab of GitHub. The examples in the documentation assume you have put this into your PATH and renamed to twitch
(or symlinked as such).
Note: If using MacOS and downloading manually, you may need to adjust the permissions of the file to allow for execution.
To do so, please run: chmod 755 <filename>
where the filename is the name of the downloaded binary.
The CLI largely follows a standard format:
twitch <product> <action>
The commands are described below, and any accompanying args/flags will be in the accompanying subsections.
The CLI currently supports the following products:
Check out CONTRIBUTING.md for notes on making contributions.
This library is licensed under the Apache 2.0 License.