Moving from claude-acc to Devpit
claude-acc binds Claude Code accounts to folders with a PowerShell profile line. Devpit can take over those accounts and folder links without moving them, so nobody signs in again. The background is in the blog post Moving from claude-acc to Devpit without signing in again.
Import
Section titled “Import”Open Accounts in Devpit. The first time, it says Found accounts already on this PC and lists what claude-acc has. Choose Use them in Devpit.
Or from a terminal:
devpit claude import --from claude-accDevpit reads claude-acc’s own files (its accounts, folder links and default account), shows what it would add, and after a yes adds them as one change.
devpit undo takes the whole import back.
Each claude-acc account stays where it is, under %USERPROFILE%\.claude-switch\accounts.
claude-acc’s default is Devpit’s default: your normal %USERPROFILE%\.claude.
Retire claude-acc, in this order
Section titled “Retire claude-acc, in this order”The import prints these steps for your PC, with the exact file and line numbers.
- Check that Devpit picks the same accounts. Run
devpit accounts verify, or open Accounts in a few of the linked folders. Claude Code should show the account claude-acc used there. - Remove claude-acc’s line from your PowerShell profile. Open it with
notepad $PROFILEand delete the line under# Claude Code Account Switcher. Devpit does not edit your profile. - Open a new terminal. claude-acc’s line sets
CLAUDE_CONFIG_DIRevery time a terminal changes folder. A terminal started after the line is gone has no such variable. In an old terminal, Devpit’s shim overrides it forclaude, but close it to be sure. - Remove the program. Delete claude-acc’s
binfolder inside.claude-switch. If you added that folder to PATH yourself, take it out of PATH too. - Keep the account folders. Do not delete
.claude-switch\accountsor anything in it while Devpit uses them.
Common questions
Do I have to sign in to my accounts again?
No. Devpit uses claude-acc's account folders where they are, and those folders hold the logins. Devpit's rules file only points at them.
Can I delete the .claude-switch folder afterwards?
Not the accounts folder inside it, and nothing in it, while Devpit uses those accounts. You can delete claude-acc's program from its bin folder. The config and links files can stay; nothing reads them once claude-acc is gone.
