update homebrew’s package database.
in a system shell, issue the following command:
brew update2install mongodb.
you can install mongodb via brew with several different options. use one of the following operations:
install the mongodb binariesto install the mongodb binaries, issue the following command in a system shell:
brew install mongodbbuild mongodb from source with tls/ssl support
to build mongodb from the source files and include tls/ssl support, issue the following from a system shell:
brew install mongodb --with-opensslinstall the latest development release of mongodb
to install the latest development release for use in testing and development, issue the following command in a system shell:
brew install mongodb --devel
install mongodb on macos
【说明】:本文章由站长整理发布,文章内容不代表本站观点,如文中有侵权行为,请与本站客服联系(QQ:254677821)!