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

前端 未结 28 2183
难免孤独
难免孤独 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:09

    (server: ubuntu 14)

    1.) install nvm (node version manager) https://github.com/creationix/nvm

    2.) nvm install node

    3.) npm -v (inquire npm version => 3.8.6)

    4.) node -v (inquire node version => v6.0.0)

提交回复
热议问题