转载自:
brew install specific version of formula
Lets say we want to install (or downgrade to) node 0.6.19 instead of the newest version.
If you already have node, uninstall current version with:
Then search for available versions of the formula:
Now checkout the desired version. Assuming you're at /usr/local/:
Finally install node:
Done!