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

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

    @lfender6445 answer worked just fine for me to uninstall

    Now to reinstall, I had problems installing the last version instead of the most stable one, so to install a specific node version you should do:

    brew install node@10 // 10 is the version I want
    brew link node@10
    

提交回复
热议问题