I'm on Mac OS X (High Sierra). I'm having trouble upgrading npm. From their docs, I ran
localhost:tmp davea$ npm install -g npm@latest
/usr/local/Cellar/node@8/8.16.1/bin/npm -> /usr/local/Cellar/node@8/8.16.1/lib/node_modules/npm/bin/npm-cli.js
/usr/local/Cellar/node@8/8.16.1/bin/npx -> /usr/local/Cellar/node@8/8.16.1/lib/node_modules/npm/bin/npx-cli.js
+ npm@6.11.3
updated 1 package in 6.56s
but when I check the version, it is still at 6.9.0
localhost:tmp davea$ npm -v
6.9.0
What's going on?