The node and npm versions on my mac dont match. How do I downgrade npm to the same version as node?
Node:
$ node -v
$ v0.12.7
NPM:
$ npm -v
$ 2.14.4
The node and npm versions on my mac dont match. How do I downgrade npm to the same version as node?
Node:
$ node -v
$ v0.12.7
NPM:
$ npm -v
$ 2.14.4
npm is a package manager for node.js. They don't have to be the same version. npm also gets updated more frequently than node, so they could not be expected to keep their versions the same
node "pairs" a specific version of npm on the Previous Downloads page. For example, if I have node v7.7.2 and npm v4.1.2, then when using brew to downgrade/link to node v6.10, the npm version does not change. Is this problematic? If not, why bother "pairing" versions?