LoginSignup
23
12

More than 3 years have passed since last update.

Homebrew CoreからMongoDBが消えた

Last updated at Posted at 2019-09-16

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使えという話ではある

23
12
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
23
12