Missing `/migrate-installer` Command in CLI

Status Fixed / completed
Maintainer reply ✓ Yes — wolffiex
Activity 9 comments · opened Mar 19, 2025 · closed Mar 21, 2025
💡 Likely answer: A maintainer (wolffiex, collaborator) responded on this thread — see the highlighted reply below.

Bug Description
whatever version i'm on tells me to use /migrate-installer but i don't have that command as an option...

Environment Info

  • Platform: macos
  • Terminal: WarpTerminal
  • Version: 0.2.48
  • Feedback ID: 34489022-b1df-424e-8282-787d96a99d2f

Errors

[{"error":"Error: Insufficient permissions for global npm install.\n    at p$1 (file:///Users/brenner/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:1131:843)\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n    at async j21 (file:///Users/brenner/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:1141:43)\n    at async file:///Users/brenner/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:1392:5656","timestamp":"2025-03-19T21:53:21.033Z"},{"error":"Error: Insufficient permissions for global npm install.\n    at p$1 (file:///Users/brenner/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:1131:843)\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n    at async file:///Users/brenner/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:1171:540","timestamp":"2025-03-19T21:53:24.533Z"},{"error":"Error: Insufficient permissions for global npm install.\n    at p$1 (file:///Users/brenner/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:1131:843)\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n    at async j21 (file:///Users/brenner/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:1141:43)\n    at async file:///Users/brenner/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:1392:5656","timestamp":"2025-03-19T21:53:25.027Z"},{"error":"Error: Insufficient permissions for global npm install.\n    at p$1 (file:///Users/brenner/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:1131:843)\n    at async j21 (file:///Users/brenner/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:1141:43)\n    at async file:///Users/brenner/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:1392:5656","timestamp":"2025-03-19T21:53:27.650Z"},{"error":"Error: Insufficient permissions for global npm install.\n    at p$1 (file:///Users/brenner/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:1131:843)\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n    at async j21 (file:///Users/brenner/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:1141:43)\n    at async file:///Users/brenner/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:1392:5656","timestamp":"2025-03-19T21:53:29.261Z"},{"error":"Error: Insufficient permissions for global npm install.\n    at p$1 (file:///Users/brenner/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:1131:843)\n    at async j21 (file:///Users/brenner/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:1141:43)\n    at async file:///Users/brenner/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:1392:5656","timestamp":"2025-03-19T21:53:52.345Z"}]

View original on GitHub ↗

9 Comments

joseairosa · 1 year ago

I have the same issue, thank you for opening this.

wolffiex collaborator · 1 year ago

Thanks for this report. The option to migrate the installer is coming soon, but it is not meant to be available yet. I'll fix this message today.

bcherny collaborator · 1 year ago

Fixed in the latest. Restart to update and thanks for the report.

BrennerSpear · 1 year ago

It seems not fixed for me. Am I doing something wrong?

I'm on v0.2.52
claude doctor still tells me i need to run /migrate-installer
I still don't have that option

<img width="1094" alt="Image" src="https://github.com/user-attachments/assets/bcfcaf9d-7608-4fc8-be84-14db3bd4bf27" />

<img width="665" alt="Image" src="https://github.com/user-attachments/assets/28214144-ec5f-4c69-99be-96145f3ec5f5" />

wolffiex collaborator · 1 year ago

no you're right. we missed a spot. sorry about this

wolffiex collaborator · 1 year ago

ok now I think this is fixed 😇

BrennerSpear · 1 year ago

Awesome - thank you!

Mine works now but it's still mentioning /migrate-installer which isn't an option in 0.2.53 either

<img width="823" alt="Image" src="https://github.com/user-attachments/assets/b5ea57f0-28f7-4f3f-a938-f4ea04e5e430" />

wolffiex collaborator · 1 year ago

If you're curious, as of 0.2.56 you can try claude migrate-installer and that will change your install from the global npm location to a local one. Any problems, please report them in a new issue. Thanks!

github-actions[bot] · 1 year ago

This issue has been automatically locked since it was closed and has not had any activity for 7 days. If you're experiencing a similar issue, please file a new issue and reference this one if it's relevant.