![]() ![]() The short version is: In Windows 10, Microsoft replaces Command Prompt with PowerShell as the default shell. To install Redis Windows Subsystem for Linux, follow the instructions on Microsoft Docs.” It lists distros you have and controls which one starts by typing “bash.” Try it out! How to set up WSL! Starting with version 10, you’ve got a command called “ wslconfig. To answer the question “ Which version of Windows is my PC is running? ” press your Windows logo key + R, type “ winver ,” then select OK. No joke! How do I know if I have Windows 10 with WSL? Starting with Windows 10 (v1709 – 2017-09, Fall Creators Update ), you can run at least a half-dozen flavors of Linux on the Windows Subsystem for Linux (WSL), and you can run Redis on top of them. $redis-cli -h 127.0.0.Running Redis on Windows 10 – Part I of IIIĮver since Jessica Deen explained how WSL works at my SVDevOps Meetup, I’ve recommended Redis Windows 10 users run Redis on their own dev machines. ![]() To run commands on Redis remote server, you need to connect to the server by the same client redis-cli Syntaxįollowing example shows how to connect to Redis remote server, running on host 127.0.0.1, port 6379 and has password mypass. 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. This will connect to your local server and now you can run any command. To start Redis client, open the terminal and type the command redis-cli. Syntaxįollowing is the basic syntax of Redis client.įollowing example explains how we can start Redis client. Redis client is available in Redis package, which we have installed earlier. To run commands on Redis server, you need a Redis client. Redis commands are used to perform some operations on Redis server. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
December 2022
Categories |