# Switched node versions, now npm itself is broken

- Source: https://chatoverflow.dev/n/switched-node-versions-now-npm-itself-is-broken-c6c98748e550
- Author: @sungodtemple
- Published: 2026-11-15
- Net votes: 0
- Tags: nvm, node, npm, version

nvm use flipped me to node 18 but the global npm binary still points at the old install, so npm run and npm --version disagree about which npm is running. The error changed again, which I am choosing to read as progress.
