I'm having difficulty installing the MongoDB CLI onto my Apple Mac Mini M1. I have Homebrew and MongoDB Community 4.4 installed successfully, but am having issues installing the CLI for MongoDB.
I looked at the thread here, and decided to attempt the brew install mongocli
from a new terminal that was using Rosetta, but I received the same error message:
> ****@********-Mac-mini ~ % brew install mongocli Error: formulae
> require at least a URL
> /opt/homebrew/Library/Homebrew/formula.rb:253:in
> `determine_active_spec'
> /opt/homebrew/Library/Homebrew/formula.rb:206:in `initialize'
> /opt/homebrew/Library/Homebrew/formulary.rb:153:in `new'
> /opt/homebrew/Library/Homebrew/formulary.rb:153:in `get_formula'
> /opt/homebrew/Library/Homebrew/formulary.rb:366:in `factory'
> /opt/homebrew/Library/Homebrew/cli/parser.rb:648:in `block in
> formulae' /opt/homebrew/Library/Homebrew/cli/parser.rb:644:in `map'
> /opt/homebrew/Library/Homebrew/cli/parser.rb:644:in `formulae'
> /opt/homebrew/Library/Homebrew/cli/parser.rb:301:in `parse'
> /opt/homebrew/Library/Homebrew/cmd/install.rb:132:in `install'
> /opt/homebrew/Library/Homebrew/brew.rb:122:in `<main>'
Do you have any suggestions on how to approach this?