Resolve NPM Doesn’t Work on Old Version of NodeJS with Homebrew on Mac - DevPops-Inc/mac GitHub Wiki

• The following resolution is for if NPM won’t work on an old version of Node.js when you know you have a newer version installed.
• image

• Type node -v and press the return key to get the Node.js version and you’ll see that it’s showing an old version.
• image

• Type brew link --overwrite node and press the return key to overwrite the existing Node.js symbolic links.
• image

• Type node -v and press the return key to get the Node.js version and you’ll see the newer version this time around.
• image

• Type npm -v and press the return key to get the NPM version and it will work this time around.
• image

⚠️ **GitHub.com Fallback** ⚠️