Use your Claude subscription
packgen runs Claude through Claude Code on your PC. With a Claude Pro or Max plan your packs come out of the plan's limits - no API credits to top up. Setting it up takes about two minutes.
The free Claude plan does not include Claude Code. Without Pro or Max, use an Anthropic API key in packgen's Claude settings instead (billed per token from prepaid credits).
- Open PowerShell. Press the Windows key, type
PowerShelland press Enter. The window showsPS C:\Users\YourName>. You do not need to run it as administrator. - Install Claude Code. Paste this line and press Enter:
It shows no progress while it downloads - wait until the prompt comes back.
irm https://claude.ai/install.ps1 | iexOther ways to install
In the classic Command Prompt (the prompt has no
PSin front):curl -fsSL https://claude.ai/install.cmd -o install.cmd && install.cmd && del install.cmdWith WinGet (does not update itself - run
winget upgrade Anthropic.ClaudeCodenow and then):winget install Anthropic.ClaudeCode - Sign in once. Open a new PowerShell window and start Claude Code:
Follow the prompts: a browser page opens - sign in with the Claude account that has your Pro or Max plan. When Claude Code shows its own prompt you are done; type
claude/exitor close the window. - Check it works.
It prints a version such as
claude --version2.1.211 (Claude Code). - Switch packgen to it. In packgen open Claude settings (top right), choose Claude Code on this computer and press Save. If packgen was already open, press Check again there - or restart packgen.
If something goes wrong
'claude' is not recognized- Open a new PowerShell window - the old one does not know about the new command yet. Still not found? Follow Fix your PATH in Anthropic's guide.
'irm' is not recognized- You are in Command Prompt, not PowerShell. Use the Command Prompt line under "Other ways to install".
The token '&&' is not a valid statement separator- You are in PowerShell: use the first command (
irm …) instead. - packgen still says Claude Code was not found
- Make sure
claude --versionworks in a new window, then restart packgen. - Claude says your plan has no access or you hit a limit
- Claude Code needs Pro, Max, Team or Enterprise. Limits reset over time; for heavy use switch packgen to an API key in Claude settings meanwhile.
More detail: Claude Code setup (Anthropic). Git for Windows is optional for packgen.