Home >Web Front-end >JS Tutorial >Set Nodejs NPM global path_node.js under Windows system

Set Nodejs NPM global path_node.js under Windows system

WBOY
WBOYOriginal
2016-05-16 15:03:471946browse

During the development process, we may want to reset the global path of npm. The specific method is as follows:

npm config set cache "D:nodejsnode_cache"

npm config set prefix "D:nodejsnode_global"



Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn