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

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

    The best way is to download an installer package: .pkg on mac. Prefer the latest stable version.

    Here is the link: Node.js

    This package will eventually overwrite the previous version and set environment variables accordingly. Just run the installer and its done within a few clicks.

提交回复
热议问题