Windows installation nvm management tool


foreword

记录Windows 10 下安装nvm踩坑过程


1. Uninstall the original nodejs version

  • Many online programs use the program uninstall function, but the actual test fails.
    insert image description here
  • Just delete all the contents of the original nodejs folder

Two, install nvm

  1. nvm official website
  2. Choose an installation path to install nvmand choose nodejsa storage path
  3. Enter on the command line nvm -V , it prompts that if there is no such command, go down. If yes, the installation was successful
  4. Restart the computer after installation (very important)
  5. Install the required nodejsversion,nvm use 使用对应版本
  6. Successful installation.

Summarize

  • nodejsIt doesn't matter if the original deletion is clean or not.
  • If the program cannot be deleted, you can directly empty the original node folder.
  • The most important point is that if there is nothing nvmin the command line input after installation, nvm -Vyou need to restart the computer.
  • reference link

Guess you like

Origin blog.csdn.net/CherishTaoTao/article/details/129166757