Config Mismatch Warning Incorrectly Triggered with Identical Values

Resolved 💬 3 comments Opened Aug 6, 2025 by yongsuk204 Closed Aug 15, 2025

Bug Description
Title: Config mismatch warning shows incorrect information

Version: Claude Code v1.0.69

Issue:
/status shows "Config mismatch: running npm-global but config says npm-global"
even when both values are identical.

Steps to Reproduce:

  1. Install Claude Code via npm: npm install -g @anthropic-ai/claude-code
  2. Set config: claude config set -g installMethod npm-global
  3. Run: claude, then /status
  4. See incorrect warning

Expected: No warning when values match
Actual: Warning shows despite matching values

Diagnostic Output:

  • /doctor shows: "Currently running: npm-global" and "Config install method: npm-global"
  • /status shows: "Config mismatch: running npm-global but config says npm-global"

Environment:

  • macOS (MacBook Air)
  • Node.js v22.18.0
  • npm v10.9.3
  • Install method: npm global

Environment Info

  • Platform: darwin
  • Terminal: Apple_Terminal
  • Version: 1.0.69
  • Feedback ID: ee20e4ed-e69e-4239-901c-8f33837f88fc

View original on GitHub ↗

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