I am trying to do a clean sweap of my machine by uninstalling all the modules and node itself. Also, would like to revert back all the config I did like for example setting path variable. Please suggest the best way to do so as I am getting following error while uninstalling node as follows:
Command: brew uninstall node
Error: No such keg: /usr/local/Cellar/node
Command: node -v
v4.2.2
How can i do a clean sweap and start over again. Thanks in advance.