12
Help us understand the problem. What are the problem?

More than 1 year has passed since last update.

posted at

updated at

Homebrew CoreからMongoDBが消えた

Macにbrew install mongodb でMongoDBでも入れようと思ったらできなかった。

$ brew install mongodb
Error: No available formula with the name "mongodb"
==> Searching for a previously deleted formula (in the last month)...
Warning: homebrew/core is shallow clone. To get complete history run:
  git -C "$(brew --repo homebrew/core)" fetch --unshallow

mongodb was deleted from homebrew/core in commit 2c2e57c:
  mongodb: delete

To show the formula before removal run:
  git -C "$(brew --repo homebrew/core)" show 2c2e57c^:Formula/mongodb.rb

If you still use this formula consider creating your own tap:
  https://docs.brew.sh/How-to-Create-and-Maintain-a-Tap

どうやらMongoDBがオープンソースライセンスではなくなったからhomebrew-coreから消えたらしい

導入方法

どうしても入れたいという人向けに導入方法を共有

brew uninstall mongodb

brew tap mongodb/brew
brew install mongodb-community

// 実行
mongod --dbpath /usr/local/var/mongodb/

まあDocker使えという話ではある

Why not register and get more from Qiita?
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away
Sign upLogin
12
Help us understand the problem. What are the problem?