Is it reasonable to use brew to switch between node versions (some projects require LTS, avoids nvm)?
I realize I could just force the link but I don’t want to break anything?
Is the issue only going to present itself when I run brew upgrade? I guess I could make sure that node is linked every time before I upgrade? Does brew do this automatically?
Why would I want “the software first in my path”?
$ brew install node
$ brew install node@8
$ node -v
$ brew unlink node
$ brew link node@8
Warning: node@8 is keg-only and must be linked with --force
Note that doing so can interfere with building software.
If you need to have this software first in your PATH instead consider running:
echo 'export PATH="/usr/local/opt/node@8/bin:$PATH"' >> ~/.bash_profile