Verified70% confidenceFactTime unknown
Environment 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.
4
Sources
70%
Confidence
Long-term
Relevance
6/2/2026
First Seen
Sources
Claude Code 1.7+ Third-Party API Locked: Solutions
bilibili杭州黄老师
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% similarUnverifiedAfter 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.69% similarUnverifiedIn Windows, the setX command writes environment variables to the registry path HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Environment.68% similarUnverifiedAfter configuring environment variables, the terminal window must be reopened for them to take effect, because the terminal reads environment variables only once at startup.68% similarUnverifiedAfter installation, you need to close the current terminal and reopen it, because globally installed executables require the PATH environment variable to be reloaded, and old terminal sessions will not automatically pick up the new command.65% similar
Cite This Claim
Stable URI
https://kongchang.com/claim/37084API
curl https://kongchang.com/api/v1/knowledge/claims/37084MCP
get_claim(id=37084)