{
  "schema_version": 2,
  "id": "operate/oss_and_stack/install/install-stack/snap",
  "title": "Install Redis Open Source on Linux",
  "url": "https://redis.io/docs/latest/operate/oss_and_stack/install/install-stack/snap/",
  "summary": "How to install Redis Open Source using Snap",
  "tags": [
    "docs",
    "operate",
    "stack",
    "oss"
  ],
  "last_updated": "2026-09-21T15:59:08+01:00",
  "page_type": "content",
  "content_hash": "155835ca42daebc35b830be848cc37e95d54b40ce6132aa558ca9e3e890d5d0e",
  "sections": [
    {
      "id": "install-redis-open-source-on-ubuntu-linux-using-snap",
      "title": "Install Redis Open Source on Ubuntu Linux using Snap",
      "role": "setup",
      "text": "> [!NOTE]\n> If you only need the Redis CLI (`redis-cli`) and not the full Redis Open Source distribution, see [Install redis-cli](https://redis.io/docs/latest/operate/oss_and_stack/install/install-stack/install-redis-cli).\n\nTo install Redis via snap, run the following commands:\n\n\nsudo apt update\nsudo apt install redis-tools # this will install `redis-cli`\nsudo snap install redis\n\n\nRedis will start automatically after installation and also at boot time."
    },
    {
      "id": "connect-to-redis",
      "title": "Connect to Redis",
      "role": "content",
      "text": "Once Redis is running, you can test it by running `redis-cli`:\n\n\nredis-cli\n\n\nTest the connection with the `ping` command:\n\n\n127.0.0.1:6379> PING\nPONG"
    }
  ],
  "examples": []
}
