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

600
Views
Installing mongodb on M1 Apple Chip with cannot tap mongodb/brew: invalid syntax in tap

Running the command brew tap mongodb/brew: i ran into the following. I ran into the following :

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!

over 4 years ago · Santiago Trujillo
2 answers
Answer question

0

My Solution :

  • 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 Run

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"
  • 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.

This did not work for me so i tried this:

  • Then run this : arch -arm64 brew install mongodb-community@4.4 And it worked.

I suggest you find the one that works for you. Thanks to these articles.

  • How to install Mongodb on Apple M1 chip
  • Does the mongocli support a formula URL for Apple M1 chips?
  • https://brew.sh/
over 4 years ago · Santiago Trujillo Report

0

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".

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!