Advertisement
xerocool-101

002 REDIS on MAC

May 25th, 2025
29
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.06 KB | Software | 0 0
  1. Open Terminal and paste the following command:
  2.  
  3. /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
  4. Follow the on-screen instructions to complete the installation.
  5.  
  6. Install Redis
  7. Once Homebrew is installed, you can install Redis with the following command:
  8.  
  9. brew install redis
  10. Start Redis
  11. After installation, you can start Redis using:
  12.  
  13. brew services start redis
  14. This command sets Redis to start automatically at login. If you prefer to start it manually, use:
  15.  
  16. redis-server
  17. Test Redis
  18. You can test if Redis is running by opening another Terminal window and typing:
  19.  
  20. redis-cli
  21. This opens the Redis command-line interface. You can then test the connection by typing:
  22.  
  23. ping
  24.  
  25. # For Ubuntu/Debian
  26. wget https://downloads.redisinsight.redis.com/latest/RedisInsight-linux-x64.AppImage
  27. chmod +x RedisInsight-linux-x64.AppImage
  28. ./RedisInsight-linux-x64.AppImage
  29. Docker version:
  30.  
  31. bash
  32. Copy
  33. Edit
  34. docker run -d -p 8001:8001 --name redisinsight redislabs/redisinsight
  35. Then open in browser:
  36. 👉 http://localhost:8001
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement