Unverified50% confidenceFactExact time
npm's -g flag means global installation: the installed package is placed in a system-level directory, and the executable command is registered in the PATH environment variable, allowing the command to be run directly from any directory.
1
Sources
50%
Confidence
Long-term
Relevance
10/16/2026
First Seen
Sources
Free Local N8N Deployment: Build Your Own AI Agent Automation Platform
youtubeAbi10/16/2026
Related Entities
Related Claims
UnverifiedIf typing gemini results in a "command not found" prompt, the most likely cause is that the global installation path has not been added to the system environment variable PATH, which can be resolved by restarting the terminal or confirming that the npm global bin directory is in PATH.72% similarUnverifiedThe contents of the PATH environment variable, when read by a system call (such as execvp), do not go through the shell's expansion process, so a ~ in PATH is treated as an ordinary character-based directory.62% similarUnverifiedThe "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.60% similarUnverifiedThe Pi permission system extension can be installed with the command `pi install npm pi-permission-system`, and a pi-permissions.jsonc configuration file can be created in the ~/.pi/agent/ directory to set default tool policies.60% similarUnverified可通过 --ignore-scripts 参数进行防御性安装,并用 npm query ':attr(scripts, [postinstall])' 列出含 postinstall 脚本的依赖58% similar
Cite This Claim
Stable URI
https://kongchang.com/claim/1044319API
curl https://kongchang.com/api/v1/knowledge/claims/1044319MCP
get_claim(id=1044319)