There some inherent problems with installing Node/NPM via Homebrew, which can come up later when trying to upgrade NPM. It's much better to not let Homebrew install these and instead create a quick script that pulls the installer from nodejs.org, unpacks it and runs the installer.
For reference:
There some inherent problems with installing Node/NPM via Homebrew, which can come up later when trying to upgrade NPM. It's much better to not let Homebrew install these and instead create a quick script that pulls the installer from nodejs.org, unpacks it and runs the installer.
dotfiles/brew.sh
Line 41 in 6790976
For reference: