False "installMethod is native" warning when using Homebrew installation

Resolved 💬 3 comments Opened Sep 30, 2025 by hichana Closed Oct 3, 2025

Preflight Checklist

  • [x] I have searched existing issues and this hasn't been reported yet
  • [x] This is a single bug report (please file separate reports for different bugs)
  • [x] I am using the latest version of Claude Code

What's Wrong?

When starting Claude Code installed via Homebrew, I get this warning:
● installMethod is native, but claude command not found at /Users/matthewchana/.local/bin/claude

Native installation exists but ~/.local/bin is not in your PATH. Run: echo 'export PATH="$HOME/.local/bin:$PATH"' >> ~/.zshrc && source
~/.zshrc

Environment:

  • Installation method: Homebrew
  • which claude: /opt/homebrew/bin/claude
  • ~/.claude/settings.json shows: "installMethod": "homebrew"
  • Claude command works correctly

What I tried:

  • Removed ~/.local/bin, ~/.local/state/opencode, ~/.local/share/opencode, ~/.config/opencode
  • Warning persists

What Should Happen?

Expected: No warning since Claude is correctly installed and functioning via Homebrew.

Error Messages/Logs

Steps to Reproduce

start claude code

Claude Model

None

Is this a regression?

I don't know

Last Working Version

_No response_

Claude Code Version

2.0

Platform

Anthropic API

Operating System

macOS

Terminal/Shell

Terminal.app (macOS)

Additional Information

_No response_

View original on GitHub ↗

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