Unverified50% confidenceSolutionExact time
After installation is complete, a new command line window must be opened for verification, as the old window, not having loaded the latest environment variables, will display a prompt saying it is not an internal or external command.
1
Sources
50%
Confidence
Long-term
Relevance
9/28/2026
First Seen
Sources
Related Entities
Related Claims
UnverifiedIf the command does not take effect after configuring the environment variable, it may be due to caching, and restarting the computer can resolve the issue.71% similarVerifiedEnvironment variables set with the setX command do not take effect immediately in the current session; a new command prompt window must be opened or the system must be restarted.69% similarUnverifiedChild processes inherit environment variables from the parent shell; opening a new terminal window starts a fresh shell process whose environment variables come from system configuration files rather than values manually set in the previous window.68% similarUnverified写入环境变量后必须执行 source ~/.bashrc 或 source ~/.zshrc 重新加载配置才能生效,否则新终端窗口不会包含手动设置的变量65% similarUnverifiedCodex reads environment variables and API configurations at startup and does not dynamically refresh these settings during operation, so modifications to the configuration require a restart to take effect.64% similar
Cite This Claim
Stable URI
https://kongchang.com/claim/957312API
curl https://kongchang.com/api/v1/knowledge/claims/957312MCP
get_claim(id=957312)