관리 메뉴

웹개발자의 기지개

[Redis] Mac 에서 Redis 설치하기 본문

SQL/Redis

[Redis] Mac 에서 Redis 설치하기

웹개발자 워니 2026. 2. 12. 12:28

 

https://redis.io/docs/latest/operate/oss_and_stack/install/archive/install-redis/install-redis-on-mac-os/

 

Install Redis on macOS

Use Homebrew to install and start Redis on macOS

redis.io

 

 

# HomeBrew 설치 (이미 설치되어 있다면 재설치 필요 X)
$ /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"

# HomeBrew 설치 여부 확인
$ brew --version

# redis 설치
$ brew install redis

# redis 실행
$ brew services start redis

# redis 실행 여부 확인
$ brew services info redis

# reids 중지
$ brew services stop redis

 

 

Redis에 접속

$ redis-cli # Redis에 접속

127.0.0.1:6379> ping
PONG # 이렇게 출력되면 정상적으로 Redis가 실행되고 있다는 뜻

 

 

 

참고 : JSCODE 박재성
https://www.inflearn.com/users/219533/@jscode

 

 

 

 

Comments