[BUG] slash commands `/install-github-apps` fails because of an error

Resolved 💬 5 comments Opened Sep 15, 2025 by dkoenawan Closed Jan 11, 2026

Preflight Checklist

  • [x] I have searched existing issues and this hasn't been reported yet
  • [x] This is a single bug report (please file separate reports for different bugs)
  • [x] I am using the latest version of Claude Code

What's Wrong?

When executing the slash command /install-github-apps, it fails to check authentication to GitHub due to an unknown shorthand flag error.

What Should Happen?

Executing slash command /install-github-apps should setup

Error Messages/Logs

> /install-github-app 
Checking GitHub CLI installation…
unknown shorthand flag: 'a' in -a

Usage:  gh auth status [flags]

Flags:

Steps to Reproduce

  1. Login to github using gh auth login
  2. Run claude in terminal
  3. Execute /install-github-app

Claude Model

Sonnet (default)

Is this a regression?

I don't know

Last Working Version

_No response_

Claude Code Version

1.0.113

Platform

Anthropic API

Operating System

Ubuntu/Debian Linux

Terminal/Shell

VS Code integrated terminal

Additional Information

<img width="1212" height="743" alt="Image" src="https://github.com/user-attachments/assets/188ba277-cd3f-49ef-9673-0c0efc845064" />

View original on GitHub ↗

This issue has 5 comments on GitHub. Read the full discussion on GitHub ↗