From 799aff18ae532221113fb395950936e72f95dc5a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mislav=20Marohni=C4=87?= Date: Tue, 22 Nov 2022 16:58:55 +0100 Subject: [PATCH] Document installing GitHub CLI in Codespaces --- README.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/README.md b/README.md index 2a1941abf..5ed6be909 100644 --- a/README.md +++ b/README.md @@ -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).