Photo by Artem Sapegin on Unsplash
  1. Remove existing Node installed via Homebrew
# ignore other artefacts which may depend on node
brew uninstall — ignore-dependencies node
# remove all versions of node
brew uninstall --force node
brew install nvm


Image from PCMag

Malsha Ranawaka

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store