@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