Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

191
Views
Does the mongocli support a formula URL for Apple M1 chips?

As per the installation instructions, when running:

brew tap mongodb/brew

I get the following error:

Error: Invalid formula: /opt/homebrew/Library/Taps/mongodb/homebrew-brew/Formula/mongocli.rb

formulae require at least a URL

Error: Cannot tap mongodb/brew: invalid syntax in tap!

I do comply with prerequisites (updated xcode and brew). I made sure to run brew update and brew doctor.

At this point, I looked for answers on the mongodb/homebrew-brew repo and saw a very recent commit for the mongocli.

Apparently, it defines URLs for Mac and Linux machines that have Intel chips but no mention of Apple M1 chips. This is blocking me from tapping mongodb at the moment. Would you know of any workaround or am I making a mistake somewhere?

over 4 years ago · Santiago Trujillo
3 answers
Answer question

0

Just had the same problem ...

Go to Finder > Utilities and right click on Terminal and select "Get Info" Find the option "Open using Rosetta" and check it.

Open new Terminal and run "brew tap mongodb/brew" After it completes close the terminal and uncheck "Open using Rosetta", open Terminal again and then run "brew install mongodb-community@4.4".

That worked for me and MongoDB is installed.

over 4 years ago · Santiago Trujillo Report

0

Try the following command

arch -arm64 brew install mongodb-community@4.4
over 4 years ago · Santiago Trujillo Report

0

You can simply run any command under Rosetta on M1 macs by prefixing the command

arch -x86_64

For your use case try

arch -x86_64 brew tap mongodb/brew 
brew install mongodb-community@4.4  
over 4 years ago · Santiago Trujillo Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!