claude.nagdy.me

GitHub authentication for cloud sessions

Set GH_TOKEN and related variables so the gh CLI can access your repositories in cloud or web sessions.

bash
# Standard GitHub.com authentication
export GH_TOKEN="ghp_your_personal_access_token"

# GitHub Enterprise Server
export GH_HOST="github.example.com"
export GH_ENTERPRISE_TOKEN="ghp_your_enterprise_token"
# Or the alternate variable name
export GITHUB_ENTERPRISE_TOKEN="ghp_your_enterprise_token"
View Full Module