Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Brew install Redis on Mac

type below:

brew update
brew install redis

To have launchd start redis now and restart at login:

brew services start redis

to stop it, just run:

brew services stop redis

Or, if you don't want/need a background service you can just run:

redis-server /usr/local/etc/redis.conf

Test if Redis server is running.

redis-cli ping

If it replies “PONG”, then it’s good to go!

Location of Redis configuration file.

/usr/local/etc/redis.conf

Uninstall Redis and its files.

brew uninstall redis
rm ~/Library/LaunchAgents/homebrew.mxcl.redis.plist
@mlsaito

This comment has been minimized.

Copy link

@mlsaito mlsaito commented Apr 27, 2018

Thank you!

@ieatdriod

This comment has been minimized.

Copy link

@ieatdriod ieatdriod commented Jun 7, 2018

Thank you!!

@NdagiStanley

This comment has been minimized.

Copy link

@NdagiStanley NdagiStanley commented Oct 2, 2018

👍

@DollarAkshay

This comment has been minimized.

Copy link

@DollarAkshay DollarAkshay commented Oct 8, 2018

How would I stop the background redis server after running redis-server /usr/local/etc/redis.conf ?

@AELSchauer

This comment has been minimized.

Copy link

@AELSchauer AELSchauer commented Oct 15, 2018

👍

@joostvanveen

This comment has been minimized.

Copy link

@joostvanveen joostvanveen commented Dec 25, 2018

How would I stop the background redis server after running redis-server /usr/local/etc/redis.conf ?

brew services stop redis

@elnemesisdivina

This comment has been minimized.

Copy link

@elnemesisdivina elnemesisdivina commented Dec 30, 2018

txs!

@Moe-boshi

This comment has been minimized.

Copy link

@Moe-boshi Moe-boshi commented Mar 24, 2019

蟹蟹!

@lokisanhitleson

This comment has been minimized.

Copy link

@lokisanhitleson lokisanhitleson commented May 9, 2019

Simple and great!

@fatalerrortan

This comment has been minimized.

Copy link

@fatalerrortan fatalerrortan commented May 13, 2019

谢谢 danke thanks

@falcucci

This comment has been minimized.

Copy link

@falcucci falcucci commented May 22, 2019

thanks xD

@danielaraujos

This comment has been minimized.

Copy link

@danielaraujos danielaraujos commented May 31, 2019

Thanks!

@liwenjie-sh

This comment has been minimized.

Copy link

@liwenjie-sh liwenjie-sh commented Nov 15, 2019

👍

@SeasonLeee

This comment has been minimized.

Copy link

@SeasonLeee SeasonLeee commented Nov 25, 2019

Thank you sooooo much!😄

@robinjl

This comment has been minimized.

Copy link

@robinjl robinjl commented Nov 27, 2019

Thanks!

@ghost

This comment has been minimized.

Copy link

@ghost ghost commented Dec 2, 2019

How would I stop the background redis server after running redis-server /usr/local/etc/redis.conf ?

brew services stop redis

@herbertUG

This comment has been minimized.

Copy link

@herbertUG herbertUG commented Dec 8, 2019

👍

@mhazim2

This comment has been minimized.

Copy link

@mhazim2 mhazim2 commented Dec 17, 2019

thankyou...

@ninemic

This comment has been minimized.

Copy link

@ninemic ninemic commented Dec 21, 2019

🙏

@elgono

This comment has been minimized.

Copy link

@elgono elgono commented Dec 23, 2019

How to install a specific version of redis? Thx!

@ghost

This comment has been minimized.

Copy link

@ghost ghost commented Jan 20, 2020

Thank you!

@GustavoVargasAdl

This comment has been minimized.

Copy link

@GustavoVargasAdl GustavoVargasAdl commented Jan 21, 2020

Thanks you!

@elinaldosoft

This comment has been minimized.

Copy link

@elinaldosoft elinaldosoft commented Jan 24, 2020

Thank you very much man :)

@faustaleonardo

This comment has been minimized.

Copy link

@faustaleonardo faustaleonardo commented Jan 25, 2020

Working great. Thanks!

@tukkajukka

This comment has been minimized.

Copy link

@tukkajukka tukkajukka commented Feb 17, 2020

👍 👍

@letyndr

This comment has been minimized.

Copy link

@letyndr letyndr commented Feb 18, 2020

Thanks a lot!

@vbrazo

This comment has been minimized.

Copy link

@vbrazo vbrazo commented Mar 20, 2020

👍

@fernandoporazzi

This comment has been minimized.

Copy link

@fernandoporazzi fernandoporazzi commented Apr 1, 2020

Thanks

@n-makarin

This comment has been minimized.

Copy link

@n-makarin n-makarin commented Apr 2, 2020

🤟

@baronwithyou

This comment has been minimized.

Copy link

@baronwithyou baronwithyou commented Apr 10, 2020

👍

@dileepmandapam

This comment has been minimized.

Copy link

@dileepmandapam dileepmandapam commented Apr 12, 2020

Thanks.

@inandi

This comment has been minimized.

Copy link

@inandi inandi commented Apr 15, 2020

thank you

@Tkko

This comment has been minimized.

Copy link

@Tkko Tkko commented Apr 27, 2020

Helpful

@Rufaely

This comment has been minimized.

Copy link

@Rufaely Rufaely commented May 5, 2020

redis-cli ping
If it replies “PONG”, then it’s good to go!

what does it mean? is running or is good to run? because am getting "PONG" though the server is stoped.

@muhammadkholidb

This comment has been minimized.

Copy link

@muhammadkholidb muhammadkholidb commented May 12, 2020

👍

@aditya1711

This comment has been minimized.

Copy link

@aditya1711 aditya1711 commented May 18, 2020

redis-cli ping
If it replies “PONG”, then it’s good to go!

what does it mean? is running or is good to run? because am getting "PONG" though the server is stoped.

Observing the same behaviour. You got any explanations?

@henok-tesfaye

This comment has been minimized.

Copy link

@henok-tesfaye henok-tesfaye commented May 18, 2020

Thanks.

@nathanhleung

This comment has been minimized.

Copy link

@nathanhleung nathanhleung commented Jun 16, 2020

Thank you!

@brnt

This comment has been minimized.

Copy link

@brnt brnt commented Jun 16, 2020

Thanks! 👍

@jp555soul

This comment has been minimized.

Copy link

@jp555soul jp555soul commented Jul 15, 2020

Cheers! 🔥

@vatologic

This comment has been minimized.

Copy link

@vatologic vatologic commented Jul 27, 2020

Thank you for this!

@danielamorais

This comment has been minimized.

Copy link

@danielamorais danielamorais commented Jul 27, 2020

Thanks!

@KayneWang

This comment has been minimized.

Copy link

@KayneWang KayneWang commented Jul 30, 2020

thx!

@ZheZhou1sfw

This comment has been minimized.

Copy link

@ZheZhou1sfw ZheZhou1sfw commented Jul 30, 2020

Thank you sir!

@xgqfrms

This comment has been minimized.

Copy link

@xgqfrms xgqfrms commented Aug 19, 2020

awesome!

@deduced

This comment has been minimized.

Copy link

@deduced deduced commented Aug 26, 2020

Bangarang!

@spoutop

This comment has been minimized.

Copy link

@spoutop spoutop commented Sep 4, 2020

redis-cli ping
If it replies “PONG”, then it’s good to go!

what does it mean? is running or is good to run? because am getting "PONG" though the server is stoped.

Probably brew is running on the redis server. Try 'brew services stop redis' in the terminal.

@naseemmdali

This comment has been minimized.

Copy link

@naseemmdali naseemmdali commented Sep 18, 2020

thanks👍🏻

@ilkrklc

This comment has been minimized.

Copy link

@ilkrklc ilkrklc commented Sep 23, 2020

thanks 👍

@vikt82

This comment has been minimized.

Copy link

@vikt82 vikt82 commented Oct 20, 2020

thanks👍🏻

@htq287

This comment has been minimized.

Copy link

@htq287 htq287 commented Oct 21, 2020

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.