{
  "id": "install-rdi-cli",
  "title": "Install Write-behind CLI",
  "url": "https://redis.io/docs/latest/integrate/write-behind/installation/install-rdi-cli/",
  "summary": "Install Write-behind CLI",
  "tags": [
    "docs",
    "integrate",
    "rs",
    "rdi"
  ],
  "last_updated": "2026-04-01T08:10:08-05:00",
  "page_type": "content",
  "content_hash": "07b5bad5ed71d963c4729dcd7660a32f7ecc856ed6894489b4195f83001cd197",
  "sections": [
    {
      "id": "overview",
      "title": "Overview",
      "role": "overview",
      "text": "The following installation instructions install the Write-behind CLI on a local workstation.\n\nWrite-behind installation is done via the Write-behind CLI. The CLI should have network access to the Redis Enterprise cluster API (port 9443 by default)."
    },
    {
      "id": "download-write-behind-cli",
      "title": "Download Write-behind CLI",
      "role": "content",
      "text": "#### Ubuntu 20.04\n\n[code example]\n\n#### Ubuntu 18.04\n\n[code example]\n\n#### RHEL 8\n\n[code example]\n\n#### RHEL 7\n\n[code example]"
    },
    {
      "id": "install-write-behind-cli",
      "title": "Install Write-behind CLI",
      "role": "setup",
      "text": "Unpack the downloaded `redis-di.tar.gz` into the `/usr/local/bin/` directory:\n\n[code example]\n\n> Note: Non-root users should unpack to a directory with write permission and run `redis-di` directly from it."
    }
  ],
  "examples": [
    {
      "id": "download-write-behind-cli-ex0",
      "language": "bash",
      "code": "wget https://qa-onprem.s3.amazonaws.com/redis-di//redis-di-ubuntu20.04-.tar.gz -O /tmp/redis-di.tar.gz",
      "section_id": "download-write-behind-cli"
    },
    {
      "id": "download-write-behind-cli-ex1",
      "language": "bash",
      "code": "wget https://qa-onprem.s3.amazonaws.com/redis-di//redis-di-ubuntu18.04-.tar.gz -O /tmp/redis-di.tar.gz",
      "section_id": "download-write-behind-cli"
    },
    {
      "id": "download-write-behind-cli-ex2",
      "language": "bash",
      "code": "wget https://qa-onprem.s3.amazonaws.com/redis-di//redis-di-rhel8-.tar.gz -O /tmp/redis-di.tar.gz",
      "section_id": "download-write-behind-cli"
    },
    {
      "id": "download-write-behind-cli-ex3",
      "language": "bash",
      "code": "wget https://qa-onprem.s3.amazonaws.com/redis-di//redis-di-rhel7-.tar.gz -O /tmp/redis-di.tar.gz",
      "section_id": "download-write-behind-cli"
    },
    {
      "id": "install-write-behind-cli-ex0",
      "language": "bash",
      "code": "sudo tar xvf /tmp/redis-di.tar.gz -C /usr/local/bin/",
      "section_id": "install-write-behind-cli"
    }
  ]
}
