Unverified50% confidenceSolutionExact time
The root cause of a command not found error is that the system PATH environment variable does not include the directory where the tool's executable file is located.
1
Sources
50%
Confidence
Long-term
Relevance
7/24/2026
First Seen
Sources
Codex与Claude Code配置避坑指南:从权益到跑通的完整流程
Related Claims
UnverifiedThe "not recognized as an internal or external command" error when executing the claude command is caused by the installation path not being added to the system PATH environment variable.77% similarUnverifiedOn Windows, the Path environment variable tells the system which directories to search for executable files when a command is typed in the terminal.67% similarUnverifiedRules under the .claude/rules directory without a Path configuration are loaded unconditionally, while rules with a Path configuration are only loaded when operating on matching files.63% similarUnverified写入环境变量后必须执行 source ~/.bashrc 或 source ~/.zshrc 重新加载配置才能生效,否则新终端窗口不会包含手动设置的变量59% similarUnverifiedTrae does not provide sufficient configuration interfaces in refresh mode for users to customize PATH or environment variables.58% similar
Cite This Claim
Stable URI
https://kongchang.com/claim/609037API
curl https://kongchang.com/api/v1/knowledge/claims/609037MCP
get_claim(id=609037)