skip to Main Content

I can’t install Redis server on my MacBook using brew.

$ brew install redis 

It throws this error for me :
No available formula with the name "redis".
What do i do to solve this error ?

Here is a SS of my terminal: https://i.stack.imgur.com/1u6fp.png

3

Answers


  1. The redis package in brew is called redis-server. Try:

    brew install redis-server

    Though, alternatively you might want the latest redis-stack, a redis with all the modules.

    Login or Signup to reply.
  2. rm -rf "/usr/local/Homebrew/Library/Taps/homebrew/homebrew-core"
    brew tap homebrew/core
    
    Login or Signup to reply.
  3. Try and run brew doctor and see if you get any useful output. In my case I got this:

    Warning: Homebrew/homebrew-core was not tapped properly! Run:
      rm -rf "/opt/homebrew/Library/Taps/homebrew/homebrew-core"
      brew tap homebrew/core
    
    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search