[BUG] Claude referencing claude-code
Resolved 💬 7 comments Opened Oct 2, 2025 by bfd-kr Closed Jan 7, 2026
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?
- Claude incorrectly references the command as claude-code instead of claude
- Claude looked in ~/.config/claude/ instead of ~/.config/claude-code/
- This creates confusion between the package name (@anthropic-ai/claude-code), the command (claude), and the config directory (~/.config/claude-code/)
What Should Happen?
- Package name: @anthropic-ai/claude-code (installed via npm)
- Executable command: claude (NOT claude-code)
- Config directory: ~/.config/claude-code/
Error Messages/Logs
Steps to Reproduce
add this project to global settings
⏺ Bash(cat ~/.config/claude/config.json 2>/dev/null || echo "Config file not found")
⎿ Config file not found
When requesting assistance documenting how to install claude, claude documented the version check command as claude-code --version.
Additionally the run claude command was shown as
cd project/dir
claude
Claude Model
None
Is this a regression?
Yes, this worked in a previous version
Last Working Version
_No response_
Claude Code Version
2.0.2 (Claude Code)
Platform
Other
Operating System
macOS
Terminal/Shell
iTerm2
Additional Information
_No response_
This issue has 7 comments on GitHub. Read the full discussion on GitHub ↗