Expired60% confidenceFactTime unknown
npm global installation (the -g flag) places packages in a system-level directory rather than the current project's node_modules, making the claude command available in any directory.
2
Sources
60%
Confidence
Medium-term (~90 days)
Relevance
7/2/2026
First Seen
This claim has expired. It is kept for the record and no longer describes the current state.
Valid until: 9/30/2026(expired)
Sources
Claude Code Installation & Setup: A Complete Guide to Building Your AI Coding Environment from Scratch
bilibili图灵Java教学
Related Claims
Verifiednpm (Node Package Manager) is the package manager that comes with Node.js, used to download and manage third-party code libraries required by a project.69% similarUnverifiedThe project plans to be uploaded to the NPM repository to enable one-click installation.68% similarUnverifiedManaging Node.js installations with nvm (Node Version Manager) avoids the need for sudo during global installation because nvm stores global packages in the user directory.66% similarUnverifiedmacOS上npm全局安装的包通常位于/usr/local/lib/node_modules或通过nvm管理的~/.nvm目录下,Windows则在%AppData%/npm/node_modules路径中64% similarVerifiednpx是npm 5.2+内置的包执行工具,允许开发者无需全局安装即可直接运行任意npm包64% similar
Cite This Claim
Stable URI
https://kongchang.com/claim/54331API
curl https://kongchang.com/api/v1/knowledge/claims/54331MCP
get_claim(id=54331)