To brew install specific version of Node, we run a few brew
commands.
To do this, we run
brew install node@14
brew unlink node
brew link node@14
to install Node 14 with brew install
.
And then we remove the old version of node with brew unlink
.
Then we run brew link
to link Node 14 as the default node
version.