How Do I Start Redis from Command Line

Open your Command Prompt (ex: cmd.exe) and type: > redis-server –service-start.The Redis API will create a default Redis which is ready to accept connections on port 6379. You may now connect to it with the redis-cli.exe file. Note: To save and stop the Redis database, type: > redis-server shutdown save.

How do I start Redis in terminal?

To start Redis client, open the terminal and type the command redis-cli. This will connect to your local server and now you can run any command. In the above example, we connect to Redis server running on the local machine and execute a command PING, that checks whether the server is running or not.

How do I run Redis command line in Windows 10?

  1. Launch the installed distro from your Windows Store and then install redis-server. …
  2. Restart the Redis server to make sure it is running: > sudo service redis-server restart.
Alexander Ross

Alexander Ross

Gaming, Esports & Interactive Media Writer

Alexander Ross has covered the video game industry for a decade, writing deep dives on game design, esports tournaments, VR developments, and gaming culture.

Share this article
Twitter Facebook Pinterest