简体   繁体   English

redis-server、node_modules、nodejs、npm

[英]redis-server, node_modules, nodejs, npm

I attempted to download and configure redis for windows in my project's node_modules but all the tutorials I searched up are old.我试图在我的项目的 node_modules 中为 windows 下载和配置 redis,但我搜索的所有教程都是旧的。 The command in particular that I want access to is redis-server.我特别想访问的命令是 redis-server。 How can I download redis 5.0 on windows without using a vm?如何在不使用虚拟机的情况下在 Windows 上下载 redis 5.0? Thanks!谢谢!

Redis does not run natively on windows. Redis 不在 Windows 上本地运行。 There are some older versions of Redis which are ported to windows, but they are no longer maintained.有一些旧版本的 Redis 被移植到 Windows,但它们不再被维护。 Best alternative would be to run your project in Windows Subsystem for Linux (WSL).最好的选择是在 Windows Subsystem for Linux (WSL) 中运行您的项目。 Here are some options: https://github.com/ServiceStack/redis-windows这里有一些选项: https : //github.com/ServiceStack/redis-windows

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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