How to install earlier version of mongodb with homebrew?

后端 未结 7 718
一整个雨季
一整个雨季 2020-12-22 20:07

I\'m on osx6.8 and need to install an earlier version of Mongodb, how do I install an earlier version with HomeBrew? The below didn\'t work :(

dream-2:app2         


        
7条回答
  •  [愿得一人]
    2020-12-22 20:34

    When trying to install old versions of something with homebrew, it's usually useful to start with brew search packagename, in this case, there's a 2.6 version available under homebrew/versions/mongodb26

    So, to install that version:

    brew install homebrew/versions/mongodb26
    

提交回复
热议问题