Inicio con Redis: Guía de instalación

Guía para instalar Redis en Windows (WSL recomendado) y macOS, verificar conexión con redis-cli y comandos básicos; soluciones cloud e IA empresarial de Q2BSTUDIO.

9 sept 2025 • 3 min read • Q2BSTUDIO Team

Inteligencia-Artificial-

Inicio con Redis: Guía de instalación. En esta guía paso a paso traducida y adaptada te explicamos cómo instalar Redis en tu equipo para desarrollo y pruebas. Además te contamos quiénes somos en Q2BSTUDIO, una empresa de desarrollo de software especializada en aplicaciones a medida, software a medida, inteligencia artificial, ciberseguridad, servicios cloud aws y azure, servicios inteligencia de negocio, ia para empresas, agentes IA y Power BI. Si buscas soluciones a medida para tu negocio consulta nuestras opciones de aplicaciones a medida y de inteligencia artificial para empresas.

Instalación de Redis en Windows. Para Windows tienes varias buenas opciones. En el video usamos WSL y es el método recomendado porque ejecutas la versión real de Redis para Linux, que es la que más se usa en servidores. Alternativamente puedes usar Memurai si prefieres un instalador nativo .msi o Docker montando un entorno Linux y siguiendo el proceso de Linux.

WSL (recomendado para esta guía). Paso 1 Instalar WSL: Abre el menú Inicio con clic derecho y selecciona Terminal Admin; acepta el control de cuentas y en la ventana de PowerShell ejecuta el comando wsl --install; cuando termine reinicia el equipo. Paso 2 Configurar Ubuntu: Tras reiniciar abre Ubuntu desde el menú Inicio o ejecuta wsl en una terminal; la primera vez te pedirá crear un usuario y contraseña para tu entorno Linux, complétalo. Paso 3 Instalar Redis en Ubuntu: En la terminal Linux ejecuta estos comandos uno a uno: curl -fsSL https://packages.redis.io/gpg | sudo gpg --dearmor -o /usr/share/keyrings/redis-archive-keyring.gpg seguido de echo deb [signed-by=/usr/share/keyrings/redis-archive-keyring.gpg] https://packages.redis.io/deb $(lsb_release -cs) main | sudo tee /etc/apt/sources.list.d/redis.list y después sudo apt-get update && sudo apt-get install redis -y. Paso 4 Iniciar el servidor Redis: sudo service redis-server start. Para detenerlo usa sudo service redis-server stop.

Memurai (alternativa nativa para Windows). Memurai ofrece una versión nativa de Redis para Windows con instalador .msi y se instala como servicio de Windows. Descarga la Memurai Developer Edition y ejecuta el instalador; la edición Developer es gratuita y te permite trabajar localmente sin WSL.

Instalación de Redis en macOS. La forma más sencilla en macOS es usando Homebrew. Si no tienes Homebrew visita su web oficial para ejecutar el instalador recomendado por ellos. Una vez instalado Homebrew ejecuta brew install redis. Para iniciar Redis automáticamente al iniciar sesión ejecuta brew services start redis y para detenerlo usa brew services stop redis.

Verificación de la instalación. El proceso es igual en todos los sistemas. Abre tu terminal o la terminal WSL y conecta al servidor Redis con redis-cli. Verás el prompt 127.0.0.1:6379> y puedes probar la conexión con PING que debe responder PONG: 127.0.0.1:6379> PING respuesta PONG. Si obtienes PONG, Redis funciona correctamente.

Comandos útiles para probar Redis. Prueba estos comandos simples en redis-cli: SET message hello_redis respuesta OK, GET message devuelve hello_redis, EXISTS message devuelve (integer) 1 si existe, DEL message elimina la clave y devuelve (integer) 1, EXISTS message devolverá (integer) 0 después de borrarla. Para salir del cliente escribe exit o pulsa Ctrl+C.

Qué sigue. Con Redis instalado puedes empezar a explorar sus tipos de datos, estructuras y patrones de uso para caching, colas y almacenamiento en memoria. En Q2BSTUDIO ofrecemos servicios integrales para integrar Redis en arquitecturas cloud y soluciones IA empresariales; si necesitas despliegues en nube gestionada consulta nuestros servicios cloud en Servicios cloud AWS y Azure. También ofrecemos consultoría en ciberseguridad para entornos con bases en memoria, revisa nuestras opciones de ciberseguridad y pentesting. Para proyectos de inteligencia de negocio y visualización con Power BI visita Business Intelligence y Power BI.

Sobre Q2BSTUDIO. Somos un equipo de desarrollo de software a medida que combina experiencia en aplicaciones a medida, inteligencia artificial, automatización de procesos y ciberseguridad para entregar soluciones robustas y escalables. Si quieres una demo o presupuesto para integrar Redis en tu arquitectura contacta con nosotros y te asesoramos en la mejor configuración según tus necesidades.

A BREAK?

Play for a moment before you go

OUR SERVICES

How we can help you

Artificial intelligence

AI agents, chatbots, and intelligent assistants that automate tasks and serve your customers 24/7 to improve the efficiency of your business.

More info

Software Development

Web, mobile, and desktop applications, intranets, e-commerce, SaaS, and management platforms designed for your company's specific needs.

More info

Cloud services

Migration, infrastructure, managed hosting, high availability, and security on Microsoft Azure and Amazon Web Services to help your business scale without limits.

More info

Cybersecurity and pentesting

Security audits, penetration testing and protection of applications, data and infrastructure on-premise and cloud, with ethical hacking and regulatory compliance.

More info

Business Intelligence

Dashboards and data analysis with Power BI: we integrate your sources, design dashboards and KPIs and turn your data into decisions.

More info

Process automation

We automate repetitive tasks and connect your applications with n8n, Power Automate, Make, and RPA, eliminating manual work and increasing productivity.

More info

Training for Companies

We train your teams in technology with criteria: web development, databases, Git, best practices and security, automation with n8n, artificial intelligence for companies and creation of AI solutions with Azure AI Foundry.

More info

Code Auditing

We audit the code that you, your team or an AI create: we tell you what is good and what to improve, we secure it and make it ready for production, web or app.

More info

AI Image Generation

We create for you the images that your business needs with artificial intelligence: product, networks, advertising, illustration and avatars. You tell us what you want and we deliver it ready to use.

More info

AI Video Generation

We create videos with artificial intelligence for you: promotional, networking, virtual presenters, dubbing and animations. You tell us the idea and we will deliver it assembled and ready to publish.

More info

AI Conversational Avatars

We create conversational avatars with AI – digital humans with a face and voice – that serve your customers and teams with the knowledge of your company, on your website, interactive monitors, WhatsApp or Teams.

More info

Online Marketing and AI

Google Ads, Meta Ads, LinkedIn Ads and AI Engine Positioning (GEO/AEO): we attract customers and make your brand appear where they search for you, also on ChatGPT, Gemini and Perplexity.

More info

Do you have a project in mind?

Tell us your vision and we'll turn it into a software solution. Whatever the scope, we make your idea real.