简体   繁体   中英

how to use redis in windows 10 from .msi installer

I have questioon about how to run redis in windows 10. what i have do is: I have install redis use.msi and my redis are run in services, but when i want run redis-cli in cmd, i got error like this:

C:\WINDOWS\system32>redis-cli
'redis-cli' is not recognized as an internal or external command,
operable program or batch file.

how to fix this problem? and how to run redis in windows locally? it is need to add my redis to environtment or something like that?

Do the first option only if you have not shutdown your computer and not closed you terminal after installation

  1. Close your terminal open again and try running redis-cli, if that doesn't works then do below,
  2. Uninstall and Reinstall again, while reinstalling make sure that you check "Add the redis installation folder to the PATH environment variable"

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM