How do I completely uninstall Node.js, and reinstall from beginning (Mac OS X)

前端 未结 28 2267
难免孤独
难免孤独 2020-11-21 05:28

My version of node is always v0.6.1-pre even after I install brew node and NVM install v0.6.19.

My node version is:



        
28条回答
  •  花落未央
    2020-11-21 06:16

    First of all, you need to deactivate node: (mac) after install new node version.

    nvm deactivate
    

    This is removed /Users/user_name/.nvm/*/bin from $PATH

    And after that node was updated

    node --version
    v10.9.0
    

提交回复
热议问题