Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Install mongo shell in mac

i wanted to install only mongo-shell in my mac

i ran brew update and then i ran brew install mongodb-org-shell .. But it is not getting installed. Below is the error message


bash-3.2$ brew install mongodb-org-shell 
Error: No available formula with the name "mongodb-org-shell" 
==> 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

Error: No previously deleted formula found.
==> Searching for similarly named formulae...
Error: No similarly named formulae found.
==> Searching taps...
==> Searching taps on GitHub...
Error: No formulae found in taps.
bash-3.2$ 
like image 652
Arun Avatar asked Dec 02 '22 09:12

Arun


1 Answers

From what I found on MongoDB HomeBrew, to install only the Mongo Shell you should use:

brew tap mongodb/brew

After that, install the shell:

brew install mongodb-community-shell
like image 146
Caconde Avatar answered Dec 04 '22 06:12

Caconde