{"id":13491908,"url":"https://github.com/twitchdev/twitch-cli","last_synced_at":"2025-10-21T03:58:41.683Z","repository":{"id":37557183,"uuid":"321423489","full_name":"twitchdev/twitch-cli","owner":"twitchdev","description":"The official Twitch CLI to make developing on Twitch easier.","archived":false,"fork":false,"pushed_at":"2025-01-11T02:08:23.000Z","size":1274,"stargazers_count":649,"open_issues_count":20,"forks_count":73,"subscribers_count":13,"default_branch":"main","last_synced_at":"2025-08-04T04:24:32.511Z","etag":null,"topics":["cli","twitch"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/twitchdev.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-12-14T17:30:03.000Z","updated_at":"2025-08-03T16:19:00.000Z","dependencies_parsed_at":"2023-11-22T02:25:03.759Z","dependency_job_id":"1d8718f7-8c24-428c-8cc9-c192b0bd77fe","html_url":"https://github.com/twitchdev/twitch-cli","commit_stats":null,"previous_names":[],"tags_count":35,"template":false,"template_full_name":null,"purl":"pkg:github/twitchdev/twitch-cli","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/twitchdev%2Ftwitch-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/twitchdev%2Ftwitch-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/twitchdev%2Ftwitch-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/twitchdev%2Ftwitch-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/twitchdev","download_url":"https://codeload.github.com/twitchdev/twitch-cli/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/twitchdev%2Ftwitch-cli/sbom","scorecard":{"id":904044,"data":{"date":"2025-08-18","repo":{"name":"github.com/twitchdev/twitch-cli","commit":"a367becc25b3b3712509bde15021cd222d827923"},"scorecard":{"version":"v5.2.1-41-g40576783","commit":"40576783fda6698350fcbbeaea760ff827433034"},"score":4.2,"checks":[{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/40576783fda6698350fcbbeaea760ff827433034/docs/checks.md#maintained"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/40576783fda6698350fcbbeaea760ff827433034/docs/checks.md#packaging"}},{"name":"Code-Review","score":8,"reason":"Found 9/11 approved changesets -- score normalized to 8","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/40576783fda6698350fcbbeaea760ff827433034/docs/checks.md#code-review"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/40576783fda6698350fcbbeaea760ff827433034/docs/checks.md#dangerous-workflow"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/40576783fda6698350fcbbeaea760ff827433034/docs/checks.md#binary-artifacts"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/main.yml:1","Warn: no topLevel permission defined: .github/workflows/nightly.yml:1","Warn: no topLevel permission defined: .github/workflows/test.yml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/40576783fda6698350fcbbeaea760ff827433034/docs/checks.md#token-permissions"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/40576783fda6698350fcbbeaea760ff827433034/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/40576783fda6698350fcbbeaea760ff827433034/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/40576783fda6698350fcbbeaea760ff827433034/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: Apache License 2.0: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/40576783fda6698350fcbbeaea760ff827433034/docs/checks.md#license"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/main.yml:15: update your workflow using https://app.stepsecurity.io/secureworkflow/twitchdev/twitch-cli/main.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/main.yml:18: update your workflow using https://app.stepsecurity.io/secureworkflow/twitchdev/twitch-cli/main.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/nightly.yml:13: update your workflow using https://app.stepsecurity.io/secureworkflow/twitchdev/twitch-cli/nightly.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/nightly.yml:22: update your workflow using https://app.stepsecurity.io/secureworkflow/twitchdev/twitch-cli/nightly.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/nightly.yml:24: update your workflow using https://app.stepsecurity.io/secureworkflow/twitchdev/twitch-cli/nightly.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/nightly.yml:39: update your workflow using https://app.stepsecurity.io/secureworkflow/twitchdev/twitch-cli/nightly.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/nightly.yml:46: update your workflow using https://app.stepsecurity.io/secureworkflow/twitchdev/twitch-cli/nightly.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/nightly.yml:56: update your workflow using https://app.stepsecurity.io/secureworkflow/twitchdev/twitch-cli/nightly.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/nightly.yml:66: update your workflow using https://app.stepsecurity.io/secureworkflow/twitchdev/twitch-cli/nightly.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/nightly.yml:76: update your workflow using https://app.stepsecurity.io/secureworkflow/twitchdev/twitch-cli/nightly.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test.yml:12: update your workflow using https://app.stepsecurity.io/secureworkflow/twitchdev/twitch-cli/test.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test.yml:16: update your workflow using https://app.stepsecurity.io/secureworkflow/twitchdev/twitch-cli/test.yml/main?enable=pin","Warn: containerImage not pinned by hash: Dockerfile:1: pin your Docker image by updating techknowlogick/xgo:latest to techknowlogick/xgo:latest@sha256:3aa6b083c28a69407998285fe2cdfce24fc5507d72b26982aa5a0fb89688815c","Info:   0 out of   9 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   3 third-party GitHubAction dependencies pinned","Info:   0 out of   1 containerImage dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/40576783fda6698350fcbbeaea760ff827433034/docs/checks.md#pinned-dependencies"}},{"name":"Branch-Protection","score":-1,"reason":"internal error: error during branchesHandler.setup: internal error: githubv4.Query: Resource not accessible by integration","details":null,"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/40576783fda6698350fcbbeaea760ff827433034/docs/checks.md#branch-protection"}},{"name":"Signed-Releases","score":0,"reason":"Project has not signed or included provenance with any releases.","details":["Warn: release artifact v1.1.24 not signed: https://api.github.com/repos/twitchdev/twitch-cli/releases/164540435","Warn: release artifact v1.1.23 not signed: https://api.github.com/repos/twitchdev/twitch-cli/releases/163153857","Warn: release artifact v1.1.22 not signed: https://api.github.com/repos/twitchdev/twitch-cli/releases/134948872","Warn: release artifact v1.1.21 not signed: https://api.github.com/repos/twitchdev/twitch-cli/releases/124487903","Warn: release artifact v1.1.20 not signed: https://api.github.com/repos/twitchdev/twitch-cli/releases/112601769","Warn: release artifact v1.1.24 does not have provenance: https://api.github.com/repos/twitchdev/twitch-cli/releases/164540435","Warn: release artifact v1.1.23 does not have provenance: https://api.github.com/repos/twitchdev/twitch-cli/releases/163153857","Warn: release artifact v1.1.22 does not have provenance: https://api.github.com/repos/twitchdev/twitch-cli/releases/134948872","Warn: release artifact v1.1.21 does not have provenance: https://api.github.com/repos/twitchdev/twitch-cli/releases/124487903","Warn: release artifact v1.1.20 does not have provenance: https://api.github.com/repos/twitchdev/twitch-cli/releases/112601769"],"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/40576783fda6698350fcbbeaea760ff827433034/docs/checks.md#signed-releases"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 30 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/40576783fda6698350fcbbeaea760ff827433034/docs/checks.md#sast"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/40576783fda6698350fcbbeaea760ff827433034/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-24T16:42:13.932Z","repository_id":37557183,"created_at":"2025-08-24T16:42:13.932Z","updated_at":"2025-08-24T16:42:13.932Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":280200870,"owners_count":26289477,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-21T02:00:06.614Z","response_time":58,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cli","twitch"],"created_at":"2024-07-31T19:01:01.421Z","updated_at":"2025-10-21T03:58:41.668Z","avatar_url":"https://github.com/twitchdev.png","language":"Go","readme":"# Twitch CLI \n\n- [Twitch CLI](#twitch-cli)\n  - [Download](#download)\n    - [Homebrew](#homebrew)\n    - [Scoop](#scoop)\n    - [WinGet](#winget)\n    - [Manual Download](#manual-download)\n  - [Usage](#usage)\n  - [Commands](#commands)\n  - [Contributing](#contributing)\n  - [License](#license)\n\n## Download\n\nThere are two options to download/install the Twitch CLI for each platform. \n\n### Homebrew\n\nIf you are using MacOS or Linux, we recommend using [Homebrew](https://brew.sh/) for installing the CLI as it will also manage the versioning for you. \n\nTo install via Homebrew, run `brew install twitchdev/twitch/twitch-cli` and it'll be callable via `twitch`. \n\n### Scoop\n\nIf you are using Windows, we recommend using [Scoop](https://scoop.sh/) for installing the CLI, as it'll also manage versioning. \n\nTo install via Scoop, run: \n\n```sh\nscoop bucket add twitch https://github.com/twitchdev/scoop-bucket.git\nscoop install twitch-cli\n```\n\nThis will install it into your path, and it'll be callable via `twitch`. \n\n### WinGet\n\nAlternatively on Windows you can use [WinGet](https://learn.microsoft.com/en-us/windows/package-manager/winget/) for installing the CLI\n\nTo install via Winget, run:\n\n```sh\nwinget install Twitch.TwitchCLI\n```\n\n### Manual Download\n\nTo download, go to the [Releases tab of GitHub](https://github.com/twitchdev/twitch-cli/releases). The examples in the documentation assume you have put this into your PATH and renamed to `twitch` (or symlinked as such).\n\n**Note**: If using MacOS and downloading manually, you may need to adjust the permissions of the file to allow for execution.\n\nTo do so, please run: `chmod 755 \u003cfilename\u003e` where the filename is the name of the downloaded binary. \n\n## Updating\n\nTo update the Twitch CLI, run the command relevant to your installation method.\n\n**NOTE:** Once a day the program will make an HTTP call to Github to check if the application is of the latest version. For information on disabling this, see *Disabling release version checks and notices* below.\n\n### Homebrew\n\nTo update using Homebrew, run:\n\n```sh\nbrew upgrade twitchdev/twitch/twitch-cli\n```\n\n### Scoop\n\nTo update using Scoop, run:\n\n```sh\nscoop update twitch-cli\n```\n\n### WinGet\n\nTo update using WinGet, run:\n\n```sh\nwinget update Twitch.TwitchCLI\n```\n\n### Manual Download\n\nTo download, go to the [Releases tab of GitHub](https://github.com/twitchdev/twitch-cli/releases). The examples in the documentation assume you have put this into your PATH and renamed to `twitch` (or symlinked as such).\n\n**Note**: If using MacOS and downloading manually, you may need to adjust the permissions of the file to allow for execution.\n\nTo do so, please run: `chmod 755 \u003cfilename\u003e` where the filename is the name of the downloaded binary.\n\n## Disabling release version checks and notices\n\nWhen the Twitch CLI exits successfully, the application will automatically check the Twitch CLI's Github releases at the following URL:\n\n```\nhttps://api.github.com/repos/twitchdev/twitch-cli/releases/latest\n```\n\nIf the version of the Twitch CLI you are running is older than the latest released version, a notice will be printed to the console.\n\nTo prevent this from happening, make one of the following changes:\n\n- Set the environment variable `CI` to `true`\n- Set the environment variable `TWITCH_DISABLE_UPDATE_CHECKS` to `true`\n- Add `DISABLE_UPDATE_CHECKS=true` to your **.twitch-cli.env** configuration file\n- SET `LAST_UPDATE_CHECK` to `3000-01-01` in your **.twitch-cli.env** configuration file, which will prevent it from running until the year 3000\n\nIf you're running the Twitch CLI in a CI/CD environment, most environments will have already set the `CI` environment variable to `true`.\n\n## Usage\n\nThe CLI largely follows a standard format: \n\n```sh\ntwitch \u003cproduct\u003e \u003caction\u003e\n```\n\nThe commands are described below, and any accompanying args/flags will be in the accompanying subsections.\n\n## Commands\n\nThe CLI currently supports the following products: \n\n- [api](./docs/api.md)\n- [completion](./docs/completion.md)\n- [configure](./docs/configure.md)\n- [event](docs/event.md)\n- [mock-api](docs/mock-api.md)\n- [token](docs/token.md)\n- [version](docs/version.md)\n\n## Contributing\n\nCheck out [CONTRIBUTING.md](./CONTRIBUTING.md) for notes on making contributions.\n\n## License \n\nThis library is licensed under the Apache 2.0 License.\n","funding_links":[],"categories":["Go","Libraries"],"sub_categories":["Golang"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftwitchdev%2Ftwitch-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftwitchdev%2Ftwitch-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftwitchdev%2Ftwitch-cli/lists"}