Document installing GitHub CLI in Codespaces

This commit is contained in:
Mislav Marohnić 2022-11-22 16:58:55 +01:00 committed by GitHub
parent 14fd15da88
commit 799aff18ae
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -83,6 +83,16 @@ For more information, see [Linux & BSD installation](./docs/install_linux.md).
MSI installers are available for download on the [releases page][].
### Codespaces
To add GitHub CLI to your codespace, add the following to your [devcontainer file](https://docs.github.com/en/codespaces/setting-up-your-project-for-codespaces/adding-features-to-a-devcontainer-file):
```json
"features": {
"github-cli": "latest"
}
```
### GitHub Actions
GitHub CLI comes pre-installed in all [GitHub-Hosted Runners](https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners).