Skip to content

Commit b01500e

Browse files
authored
DEV: add info about installing redis-cli on CLI tools page (#2163)
1 parent c6cd31d commit b01500e

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

content/develop/tools/cli.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,19 @@ To launch the program in special modes, you can use several options, including:
2626

2727
This topic covers the different aspects of `redis-cli`, starting from the simplest and ending with the more advanced features.
2828

29+
## Install `redis-cli`
30+
31+
You have several options for installing or using `redis-cli`.
32+
33+
- [Install Redis Open Source]({{< relref "/operate/oss_and_stack/install/install-stack/" >}}). The `redis-cli` utility is installed as part of each installation method.
34+
- [Build Redis from source]({{< relref "/operate/oss_and_stack/install/build-stack" >}}). Instead of building everything, you can just run the following command:
35+
36+
`$ make redis-cli`.
37+
38+
The `redis-cli` utility will be built in the `/path/to/redis-source/src` directory as `/path/to/redis-source/src/redis-cli`.
39+
40+
If you prefer not to install Redis, you can also run `redis-cli` in Docker. See the [Run `redis-cli` using Docker]({{< relref "/operate/oss_and_stack/install/install-stack/docker/#connect-with-redis-cli" >}}) page for instructions.
41+
2942
## Command line usage
3043

3144
To run a Redis command and return a standard output at the terminal, include the command to execute as separate arguments of `redis-cli`:

0 commit comments

Comments
 (0)