Windows Instructions
Install GitHub CLI:
winget install --id github.cli
Check that it installed correctly:
C:\github\rempsyc>gh version
gh version 2.78.0 (2025-08-21)
https://github.com/cli/cli/releases/tag/v2.78.0
Install jq:
Check that it installed correctly:
C:\github\rempsyc>which jq
/x86_64-w64-mingw32.static.posix/bin/jq
Set Personal Access Token:
C:\github\rempsyc>gh auth login
? Where do you use GitHub? GitHub.com
? What is your preferred protocol for Git operations on this host? HTTPS
? Authenticate Git with your GitHub credentials? Yes
? How would you like to authenticate GitHub CLI? Login with a web browser
! First copy your one-time code: XXXX-XXXX
Press Enter to open https://github.com/login/device in your browser...
✓ Authentication complete.
- gh config set -h github.com git_protocol https
✓ Configured git protocol
✓ Logged in as rempsyc
Run the grll/claude-code-action One-liner installation:
curl -fsSL https://raw.githubusercontent.com/grll/claude-code-action/main/scripts/installer.sh | bash
╔══════════════════════════════════════════════════════════════════════════╗
║ ║
║ ✨ @claude OAuth Installer ✨ ║
║ ║
╚══════════════════════════════════════════════════════════════════════════╝
██████╗██╗ █████╗ ██╗ ██╗██████╗ ███████╗
██╔════╝██║ ██╔══██╗██║ ██║██╔══██╗██╔════╝
██║ ██║ ███████║██║ ██║██║ ██║█████╗
██║ ██║ ██╔══██║██║ ██║██║ ██║██╔══╝
╚██████╗███████╗██║ ██║╚██████╔╝██████╔╝███████╗
╚═════╝╚══════╝╚═╝ ╚═╝ ╚═════╝ ╚═════╝ ╚══════╝
██╗███╗ ██╗███████╗████████╗ █████╗ ██╗ ██╗ ███████╗██████╗
██║████╗ ██║██╔════╝╚══██╔══╝██╔══██╗██║ ██║ ██╔════╝██╔══██╗
██║██╔██╗ ██║███████╗ ██║ ███████║██║ ██║ █████╗ ██████╔╝
██║██║╚██╗██║╚════██║ ██║ ██╔══██║██║ ██║ ██╔══╝ ██╔══██╗
██║██║ ╚████║███████║ ██║ ██║ ██║███████╗███████╗███████╗██║ ██║
╚═╝╚═╝ ╚═══╝╚══════╝ ╚═╝ ╚═╝ ╚═╝╚══════╝╚══════╝╚══════╝╚═╝ ╚═╝
by @grll
▶ STEP 1: Checking GitHub CLI Installation
✓ GitHub CLI is installed
✓ jq is installed
▶ STEP 2: Getting GitHub Username
But, files claude_code_login.yml and claude_code.yml were not added to the repo workflow. When instead using the workflow file from: .github/workflows/claude-oauth.yml, I get
Claude Max or Pro is required to connect to Claude Code
Sign up for a Max or Pro subscription to connect your account, or use your API key.
So it is not possible to use Claude Code free through GitHub?
Windows Instructions
Install GitHub CLI:
Check that it installed correctly:
Install jq:
Check that it installed correctly:
Set Personal Access Token:
Run the
grll/claude-code-actionOne-liner installation:curl -fsSL https://raw.githubusercontent.com/grll/claude-code-action/main/scripts/installer.sh | bash ╔══════════════════════════════════════════════════════════════════════════╗ ║ ║ ║ ✨ @claude OAuth Installer ✨ ║ ║ ║ ╚══════════════════════════════════════════════════════════════════════════╝ ██████╗██╗ █████╗ ██╗ ██╗██████╗ ███████╗ ██╔════╝██║ ██╔══██╗██║ ██║██╔══██╗██╔════╝ ██║ ██║ ███████║██║ ██║██║ ██║█████╗ ██║ ██║ ██╔══██║██║ ██║██║ ██║██╔══╝ ╚██████╗███████╗██║ ██║╚██████╔╝██████╔╝███████╗ ╚═════╝╚══════╝╚═╝ ╚═╝ ╚═════╝ ╚═════╝ ╚══════╝ ██╗███╗ ██╗███████╗████████╗ █████╗ ██╗ ██╗ ███████╗██████╗ ██║████╗ ██║██╔════╝╚══██╔══╝██╔══██╗██║ ██║ ██╔════╝██╔══██╗ ██║██╔██╗ ██║███████╗ ██║ ███████║██║ ██║ █████╗ ██████╔╝ ██║██║╚██╗██║╚════██║ ██║ ██╔══██║██║ ██║ ██╔══╝ ██╔══██╗ ██║██║ ╚████║███████║ ██║ ██║ ██║███████╗███████╗███████╗██║ ██║ ╚═╝╚═╝ ╚═══╝╚══════╝ ╚═╝ ╚═╝ ╚═╝╚══════╝╚══════╝╚══════╝╚═╝ ╚═╝ by @grll ▶ STEP 1: Checking GitHub CLI Installation ✓ GitHub CLI is installed ✓ jq is installed ▶ STEP 2: Getting GitHub UsernameBut, files
claude_code_login.ymlandclaude_code.ymlwere not added to the repo workflow. When instead using the workflow file from:.github/workflows/claude-oauth.yml, I getSo it is not possible to use Claude Code free through GitHub?