![]() Two 、 actual combat 2.1 New folder test1221 mkdir test1221 orgġ.14 Change back to the original source npm config set registry https : / /registry. npm-cache You cannot change the path at will, otherwise you will report an errorĬ :\Users\Administrator\AppData\Local\npm -cacheġ.12 View current source npm config get registry perhaps npm config listġ.13 Update source npm config set registry https : / /registry.npmrcġ.6 npm Set the global installation path npm config set prefix "D:\nodejs\node_global" 1.7 npm Set cache path npm config set cache F :\software\nodejs\node_cacheġ.8 Read npm Package local installation path npm rootġ.9 npm Read prefix To configure npm config get prefix One 、 Common commands 1.1 npm Profile location npm config get userconfigġ.2 View installed packages npm list Package nameġ.3 Check the global installation path npm root -gġ.4 Check the local installation path npm rootġ.5 Modify the default global installation 2.4 Look at the big picture yarn The location of.1.14 Change back to the original source.1.8 Read npm Package local installation path.1.6 npm Set the global installation path. ![]() 1.5 Modify the default global installation.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |