This solution is intended for audiences of all experiences who are interested in learning about new skills in a business context there are no prerequisite courses. If it helped you then don’t forget to bookmark our site for more Quiz Answers and solutions. I hope this How do I completely uninstall Node.js and reinstall from beginning (Mac OS X) Solution would be useful for you to learn something new from this solution. Sudo rm -rf /usr/local/lib/node_modules/npm/ Lines to copy to terminal: brew uninstall node I have summarized the existing answers and made sure Node.js is COMPLETELY ERASED along with NPM. Sudo rm -rf /usr/local/lib/node /usr/local/lib/node_modules /var/db/receipts/org.nodejs.* Solution 3: You may need to do the additional instructions as well: sudo rm -rf /usr/local/ done If anyone has an explanation, I’ll choose that as the correct answer. How and why this was created instead of in my /usr/local folder, I do not know.ĭeleting these local references fixed the phantom v0.6.1-pre. Ideally, I’d like to uninstall nodejs, npm, and nvm, and just reinstall the entire thing from scratch on my system Solutions: How do I completely uninstall Node.js and reinstall from beginning (Mac OS X) Solution 1:Īpparently, there was a /Users/myusername/local folder that contained a include with node and lib with node and node_modules.
#Nvm mac os install
This will also install Node.js if it is not already installed. Now there’s folders in my users directory, and the node version STILL isn’t up to date, even though NVM says it’s using 0.6.19. You can install Yarn through the Homebrew package manager.
#Nvm mac os update
I’ve tried uninstalling npm and reinstalling it following these instructions.Īll of this because I was trying to update an older version of node to install the “zipstream” library. NAVIGATION Nvm N Homebrew MacPorts Development is picking pace, and Node.js is shipping out a new version frequently. I’ve tried deleting the “node” directory in my /usr/local/include and the “node” and “node_modules” in my /usr/local/lib. I tried using BREW to update before NVM, using brew update and brew install node. So where is this phantom node 0.6.1-pre version and how can I get rid of it? I’m trying to install libraries via NPM so that I can work on a project. NVM says this (after I install a version of node for the first time in one bash terminal): nvm lsīut when I restart bash, this is what I see: nvm ls My version of node is always v0.6.1-pre even after I install brew node and NVM install v0.6.19. Problem: How do I completely uninstall Node.js and reinstall from beginning (Mac OS X)