

Yo u must acc ept the te rms of thi s agreemen t before c ontinuing with the i nstallatio n.The MIT License (M IT)Copyrig ht (c) 202 2 Ecor Ven tures LLC. Window detected: License Ag reementPle ase read t he followi ng importa nt informa tion befor e continui ng.Please read the f ollowing L icense Agr eement. Some ways to replace NPM NPM Install -G CNPM -Registry = https: // installer window with terms and condition text Source: C:\Users\u ser\AppDat a\Local\Te mp\is-I7L4 8.tmp\nvm- setup.tmp

Add NPM_HOME = E: \ DEV \ NVM \ NPM to the user variable, add%npm-home%to the pathĦ. If you want to update the global NPM, first delete the global path (that is, the previous line The address of the command can be viewed with npm config ls), and then execute this command againģ. NPM Install npm -g -registry = // Install the global NPM, different node uses this NPM. NPM Config Set Prefix "E: \ DEV \ NVM \ NPM" // Configure the package path installed in the global installation when downloading the packageĢ. Simple three steps can configure a global NPM. If there is a NPM that allows each version of Node to shareIt won't be so troublesome, which is why we have to configure a global NPM. Because NVM can manage multiple versions of Node, if you add a Node version each time you need to install a bunch of bags, it is troublesome. When installing Node, NPM has actually been installed together. Nvm ls // View Nodejs version that has been installed

Nvm use 8.12.0 // Use a specified version NVM Install 8.12.0 // Download the designated version NVM Install Latest Install the latest version Install Node through NVM nvm -v // View nvm version PATH:%NVM_HOME% %NVM_SYMLINK%(PATH has stored is added to the end)Ĥ. My computer-> attribute-> advanced system settings-> environment variables, add environment variables to user variables: NVM_HOME:E:\dev\nvm

For E: \ dev \ nodejs, modify the contents of settings.txt as: root: E:\dev\nvm Select the NVM installation directory as E: \ DEV \ NVM, node installation directory directory. First decompress the nvm-setup.zip to such as E:/DEV/NVM (other disk can also be) then run NVM-SETUP as an administrator.
