[BUG] IDE Integration Not Working After `/migrate-installer` on Linux

Resolved 💬 9 comments Opened Jun 18, 2025 by cherr0406 Closed Jan 5, 2026

Environment

  • Platform (select one):
  • [ ] Anthropic API
  • [ ] AWS Bedrock
  • [ ] Google Vertex AI
  • [x] Other: Claude Code CLI
  • Claude CLI version: 1.0.27
  • Operating System: Fedora Linux 42
  • Terminal: Default terminal (Bash)
  • Node.js: v22.14.0 (via nvm)
  • npm: 11.4.2 (via nvm)
  • VS Code: 1.101.0

Bug Description

After running /migrate-installer in Claude Code, IDE integration features stop working in VS Code, even though the Claude Code extension is properly installed and VS Code can be selected through /ide command.

Steps to Reproduce

  1. Install Claude Code via npm install -g @anthropic-ai/claude-code and VS Code integration is automatically set up (working initially)
  2. Run /migrate-installer command in Claude Code CLI
  3. Try to use IDE integration features (Claude Code button, keyboard shortcuts, diff viewer, etc.)
  4. Observe that integration features no longer work

Expected Behavior

IDE integration should continue working normally after migrating to local installer with all integration features working as before migration.

Actual Behavior

  • /ide command works and VS Code can be selected
  • ✅ Claude Code VS Code extension is installed
  • ❌ Integration features are non-functional such as Claude Code button, keyboard shortcuts, and opening diffs in VS Code viewer

Additional Context

Workaround Found: Adding the local Claude CLI path to PATH resolves the issue:

echo 'export PATH="$HOME/.claude/local/node_modules/.bin:$PATH"' >> ~/.bashrc

Technical Details:

  • Local Claude executable location: ~/.claude/local/node_modules/.bin/claude
  • The executable is properly symlinked to ../@anthropic-ai/claude-code/cli.js
  • Issue appears to be related to PATH resolution for the locally installed Claude CLI

Note: The troubleshooting solution in the official docs (creating a user-writable npm prefix) works, but when executing claude doctor, /migrate-installer is the recommended option to address permission issues.

View original on GitHub ↗

This issue has 9 comments on GitHub. Read the full discussion on GitHub ↗