diff --git a/content/operate/oss_and_stack/install/install-stack/_index.md b/content/operate/oss_and_stack/install/install-stack/_index.md index 25591fdbe0..74879929c4 100644 --- a/content/operate/oss_and_stack/install/install-stack/_index.md +++ b/content/operate/oss_and_stack/install/install-stack/_index.md @@ -16,6 +16,152 @@ title: Install Redis Open Source weight: 2 --- +## Quick start with Docker + +The fastest way to run Redis is with Docker: + +{{< highlight bash >}} +docker run -d --name redis -p 6379:6379 redis +{{< /highlight >}} + +See the [Docker page]({{< relref "/operate/oss_and_stack/install/install-stack/docker" >}}) for full details, including data persistence, custom configuration, and connecting with `redis-cli`. + +--- + +## Install on your platform + + + +{{< multitabs id="install-by-platform" + tab1="Linux" + tab2="macOS" + tab3="Windows" >}} + +#### APT — Ubuntu / Debian + +```bash +sudo apt-get install lsb-release curl gpg +curl -fsSL https://packages.redis.io/gpg | sudo gpg --dearmor -o /usr/share/keyrings/redis-archive-keyring.gpg +sudo chmod 644 /usr/share/keyrings/redis-archive-keyring.gpg +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 +sudo apt-get update +sudo apt-get install redis +``` + +[Full APT installation guide]({{< relref "/operate/oss_and_stack/install/install-stack/apt" >}}) + +--- + +#### RPM — Rocky Linux / AlmaLinux + +Create `/etc/yum.repos.d/redis.repo` (use `rockylinux9` or `rockylinux8` as appropriate): + +```ini +[Redis] +name=Redis +baseurl=http://packages.redis.io/rpm/rockylinux9 +enabled=1 +gpgcheck=1 +``` + +Then run: + +```bash +curl -fsSL https://packages.redis.io/gpg > /tmp/redis.key +sudo rpm --import /tmp/redis.key +sudo yum install redis +``` + +[Full RPM installation guide]({{< relref "/operate/oss_and_stack/install/install-stack/rpm" >}}) + +--- + +#### Snap — Ubuntu + +```bash +sudo apt update +sudo apt install redis-tools +sudo snap install redis +``` + +[Full Snap installation guide]({{< relref "/operate/oss_and_stack/install/install-stack/snap" >}}) + +--- + +#### Docker + +```bash +docker run -d --name redis -p 6379:6379 redis +``` + +[Full Docker installation guide]({{< relref "/operate/oss_and_stack/install/install-stack/docker" >}}) + +-tab-sep- + +#### Homebrew + +```bash +brew tap redis/redis +brew install --cask redis +``` + +Start Redis: + +```bash +redis-server $(brew --prefix)/etc/redis.conf +``` + +[Full Homebrew installation guide]({{< relref "/operate/oss_and_stack/install/install-stack/homebrew" >}}) + +--- + +#### Docker + +```bash +docker run -d --name redis -p 6379:6379 redis +``` + +[Full Docker installation guide]({{< relref "/operate/oss_and_stack/install/install-stack/docker" >}}) + +-tab-sep- + +#### Docker (PowerShell) + +Make sure Docker Desktop is installed and configured to run Linux containers, then run in PowerShell: + +```powershell +docker run -d --name redis -p 6379:6379 redis +``` + +[Full Windows / Docker guide]({{< relref "/operate/oss_and_stack/install/install-stack/windows" >}}) + +--- + +#### Memurai (preview) + +A preview of Redis Open Source 8.2 RC1 is available on Windows through [Memurai](https://www.memurai.com/get-memurai), the official Redis partner for Windows compatibility. + +{{< /multitabs >}} + +--- + The latest version of Redis Open Source has been tested on the following platforms: - Ubuntu 22.04 (Jammy Jellyfish) and 24.04 (Noble Numbat). @@ -24,8 +170,6 @@ The latest version of Redis Open Source has been tested on the following platfor - Debian 12 (Bookworm) and 13 (Trixie). - macOS 14 (Sonoma), and 15 (Sequoia). -Follow the links below for installation instructions for your OS and distribution. - While you can install Redis Open Source on any of the platforms listed below, you might also consider using Redis Cloud by creating a [free account](https://redis.com/try-free/?utm_source=redisio&utm_medium=referral&utm_campaign=2023-09-try_free&utm_content=cu-redis_cloud_users). You can also download [Redis Insight]({{< relref "/operate/redisinsight/install/" >}}), a free developer companion tool with an intuitive GUI and advanced CLI, which you can use alongside Redis Open Source.