(base) kumareshjayaraman@Kumareshs-MacBook-Air opt % brew install mongodb-community@5.0
Warning: No available formula with the name “mongosh” (dependency of mongodb/brew/mongodb-community). Did you mean mongocli?
==> Searching for similarly named formulae…
This similarly named formula was found:
mongocli
To install it, run:
brew install mongocli
It was migrated from mongodb/brew to homebrew/core.
(base) kumareshjayaraman@Kumareshs-MacBook-Air opt % sudo mongod --config /usr/local/etc/mongod.conf --fork
Password:
sudo: mongod: command not found
(base) kumareshjayaraman@Kumareshs-MacBook-Air opt % brew --repository homebrew/core
/opt/homebrew/Library/Taps/homebrew/homebrew-core
(base) kumareshjayaraman@Kumareshs-MacBook-Air opt % brew update
fatal: Could not resolve HEAD to a revision
Already up-to-date.
(base) kumareshjayaraman@Kumareshs-MacBook-Air opt % brew upgrade
(base) kumareshjayaraman@Kumareshs-MacBook-Air opt % brew upgrade --cask
(base) kumareshjayaraman@Kumareshs-MacBook-Air opt % brew cleanup
(base) kumareshjayaraman@Kumareshs-MacBook-Air opt % brew install mongodb-community@5.0
Warning: No available formula with the name “mongosh” (dependency of mongodb/brew/mongodb-community). Did you mean mongocli?
==> Searching for similarly named formulae…
This similarly named formula was found:
mongocli
To install it, run:
brew install mongocli
It was migrated from mongodb/brew to homebrew/core.