Install specific version of node js

Mac

brew install node@14

If an old version of nodejs is already installed

brew unlink node
brew link node@14
node -v