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
*`redis` contains the latest, stable version of Redis.
23
+
*`redis-ce` contains the latest pre-release version of Redis, for example Redis CE 8.0-RC1.
25
24
26
25
## Install using Homebrew
27
26
28
-
First, tap the Redis CE Homebrew tap:
27
+
First, tap the Redis CE Homebrew cask:
29
28
30
29
{{< highlight bash >}}
31
-
brew tap redis-stack/redis-stack
30
+
brew tap redis/redis
32
31
{{< / highlight >}}
33
32
34
33
Next, run `brew install`:
35
34
36
35
{{< highlight bash >}}
37
-
brew install redis-stack
36
+
brew install --cask redis
38
37
{{< / highlight >}}
39
38
40
-
The `redis-stack-server` cask will install all Redis and Redis Stack binaries. How you run these binaries depends on whether you already have Redis installed on your system.
41
39
42
-
### First-time Redis installation
40
+
##Run Redis
43
41
44
-
If this is the first time you've installed Redis on your system, you need to be sure that your `PATH` variable includes the Redis Stack installation location. This location is either `/opt/homebrew/bin` for Apple silicon Macs or `/usr/local/bin` for Intel-based Macs.
42
+
If this is the first time you've installed Redis on your system, you need to be sure that your `PATH` variable includes the Redis installation location. This location is either `/opt/homebrew/bin` for Apple silicon Macs or `/usr/local/bin` for Intel-based Macs.
45
43
46
44
To check this, run:
47
45
48
46
{{< highlight bash >}}
49
47
echo $PATH
50
48
{{< / highlight >}}
51
49
52
-
Then, confirm that the output contains `/opt/homebrew/bin` (Apple silicon Macs) or `/usr/local/bin` (Intel Mac). If these directories are not in the output, see the "Existing Redis installation" instructions below.
50
+
Next, confirm that the output contains `/opt/homebrew/bin` (Apple silicon Macs) or `/usr/local/bin` (Intel Mac). If neither `/opt/homebrew/bin` nor `/usr/local/bin` are in the output, add them.
53
51
54
-
{{< note >}}
55
-
Because Redis Stack is installed using a brew cask with the `brew tap` command, it will not be integrated with the `brew services` command.
56
-
{{< /note >}}
57
-
58
-
### Existing Redis installation
59
-
60
-
If you have an existing Redis installation on your system, then might want to modify your `$PATH` to ensure that you're using the latest Redis Stack binaries.
61
-
62
-
Open the file `~/.bashrc` or `~/zshrc` (depending on your shell), and add the following lines.
63
-
64
-
For Intel-based Macs:
52
+
Open the file `~/.bashrc` or `~/zshrc` (depending on your shell), and add the following line.
0 commit comments