How to update npm on your Mac. Use the CLI or nvm, fix those annoying permission errors, and verify everything worked. Plus tips to avoid common macOS gotchas.