[BUG] install-github-app fails when run within a container
Resolved 💬 3 comments Opened Aug 30, 2025 by gekart Closed Jan 5, 2026
Environment
- Platform (select one):
- [ ] Anthropic API
- [ ] AWS Bedrock
- [ ] Google Vertex AI
- [ ] Other: <!-- specify -->
- Claude CLI version: Claude Code v1.0.98
- Operating System: MacOS running Docker
Bug Description
install-github-app fails installing at auth stage. gh auth is logged in. It appears that claude is doing gh auth status -a but -a does not exist as an option. See these two commands:
! gh auth status
⎿ github.com
✓ Logged in to github.com as gekart (/home/node/.config/gh/hosts.yml)
✓ Git operations for github.com configured to use https protocol.
… +2 lines (ctrl+r to expand)
> /install-github-app
Checking GitHub CLI installation…
unknown shorthand flag: 'a' in -a
Usage: gh auth status [flags]
Flags:
-h, --hostname string Check a specific hostname's auThis issue has 3 comments on GitHub. Read the full discussion on GitHub ↗