Redis CommandsRedis commands are used for performing some operation on Redis Server. You must have a Redis client to run Redis command. ![]() Start Redis ClientTo start Redis client, first go to "Program files" where Redis is installed. Open the folder Redis and click on the "redis-server.exe". ![]() After that, click on the Redis client. You will see this: ![]() Now, you are connected with local server and you can run any command. Let's write a command "PING". If it returns a response "PONG" that means you are connected. ![]() Run Commands on the Remote ServerYou can also connect to another server by using redis-cli command on windows command prompt: Syntax ![]() ExampleLet's take an example to see how to connect to Redis remote server. Open command prompt and run the following command: ![]() Now the Redis port is open. You can use the "PING" command to check if it is connected. ![]() Now you can see that the remote server is connected to Redis.
Next TopicRedis Keys
|