參考http://stackoverflow.com/questions/26238884/brew-versions-unkown-command-mavericksgit
設定之後提示github
Error: The `versions` command is no longer supported.mongodb
You can use the homebrew-versions tap instead:spa
https://github.com/Homebrew/homebrew-versionsorm
解決方案以下homebrew
1,安裝homebrew-versionsit
命令:sudo brew tap homebrew/versionsio
2,brew查看軟件版本form
命令:brew install homebrew/versions/mongodbclass
提示以下:
These similarly named formulae were found:
homebrew/versions/mongodb24 homebrew/versions/mongodb26
To install one of them, run (for example):
brew install homebrew/versions/mongodb24
3,安裝
brew install homebrew/versions/mongodb24