Codespaces - Dev Containers

To add GitHub CLI to your codespace, add the following to your devcontainer file:

"features": { "github-cli": "latest" }

See also