You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: content/operate/oss_and_stack/install/install-stack/homebrew.md
+78-1Lines changed: 78 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -17,7 +17,36 @@ weight: 6
17
17
To install Redis Open Source on macOS, use [Homebrew](https://brew.sh/).
18
18
Make sure that you have [Homebrew installed](https://docs.brew.sh/Installation) before starting on the installation instructions below.
19
19
20
-
## Install using Homebrew
20
+
## Remove any existing Redis installation files
21
+
22
+
If you had previously installed Redis on your system using the default Homebrew formula called "redis", you need to remove it before installing Redis Open Source 8.x.
23
+
24
+
Follow these steps to remove any existing Redis installation files:
25
+
26
+
1. Uninstall Redis:
27
+
```bash
28
+
brew uninstall redis
29
+
```
30
+
1. Next check if the `redis.conf` file is still installed:
31
+
```bash
32
+
ls -l $(brew --prefix)/etc/redis.conf
33
+
```
34
+
35
+
If you get output similar to the following, then it’s still there:
36
+
37
+
```bash
38
+
-rw-r--r--@ 1 user admin 122821 2 Oct 16:07 /opt/homebrew/etc/redis.conf
39
+
```
40
+
41
+
Run this command to remove the file:
42
+
43
+
```bash
44
+
rm -iv $(brew --prefix)/etc/redis.conf
45
+
```
46
+
47
+
Next, follow the instructions in the [next section](#install-using-homebrew) to install Redis Open Source 8.x using the Redis Homebrew cask.
48
+
49
+
## Install using Homebrew {#install-using-homebrew}
21
50
22
51
First, tap the Redis Homebrew cask:
23
52
@@ -76,6 +105,54 @@ Test the connection with the `ping` command:
76
105
PONG
77
106
{{< /highlight >}}
78
107
108
+
### Verify that all modules are loaded correctly
109
+
110
+
If you had previously installed earlier versions of Redis using Homebrew, for example 7.2.x or 7.4.x, you should test to see if all the modules are loaded correctly by running the following command. Your output should look similar to the following:
0 commit comments