![]() ![]() And like Homebrew, you can easily do this using a command similar to the way you installed it: $ nvm uninstall Īnd a complete example of this might be something like: $ nvm uninstall v0.12. It allows you to install multiple versions of Node on your system so you can easily switch from one to the other.Įventually, you'll probably want to get rid of one of the versions when you're done with it. The Node Version Manager (NVM) is almost as convenient as Homebrew, but in a different way. Assuming you used brew install node to install it, just execute this to get rid of it: $ brew uninstall nodeĪnd that's it! All traces of the executable will be gone from your system. The command to remove it is just as simple as the command to install it. The Homebrew method is arguably one of the easiest ways to get Node on and off your system. Please let me know if you find any others (and how you installed Node originally)! Homebrew This list should include just about all the references to Node on your system. Delete node.stp from /usr/local/share/systemtap/tapset/.Delete node_modules from /opt/local/lib/.Delete node.d from /usr/local/lib/dtrace/ If you installed with HomeBrew, the following Terminal.app command will perform the uninstall: brew uninstall ffmpeg If you are not sure how you installed ffmpeg, try running the command alone.Delete npm* from /usr/local/share/man/man1/.Delete node* from /usr/local/share/man/man1/.node_repl_history from your home directory npmrc from your home directory (these are your npm settings, don't delete this if you plan on re-installing Node right away) Delete node, node-debug, and node-gyp from /usr/local/bin.Delete node and/or node_modules from /usr/local/include.Delete node and/or node_modules from /usr/local/lib.And finally, the all-important formulae update command which you will want to run often, if not daily: brew update - update. Note that not all of the directories listed here may exist on your system depending on your install method. brew uninstall - remove the indicated formula from your Mac. To completely uninstall the node executable as well as npm, here are some instructions on what to do: Unfortunately, this isn't easy since there are quite a few directories containing Node resources, like npm and node_modules. If you installed Node either by source or from a binary distribution then you'll likely have to delete the executable and other resources manually. ![]() Just keep in mind that these commands will remove the Node executable, and not necessarily all of the Node projects or NPM cache. Here I'll be describing a few ways you can uninstall it from your Mac OSX computer. So, what do you do when you want to uninstall Node.js? This could be from a package manager, from the source code, or from a pre-compiled binary distribution. If you read one of my earlier posts on how to install Node.js, you probably noticed there are quite a few ways to install it on your computer.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |