{
  "schema_version": 2,
  "id": "operate/rs/installing-upgrading/install/install-script",
  "title": "Installation script command-line options",
  "url": "https://redis.io/docs/latest/operate/rs/installing-upgrading/install/install-script/",
  "summary": "Command-line options for the install.sh script.",
  "tags": [
    "docs",
    "operate",
    "rs"
  ],
  "last_updated": "2026-09-24T09:16:34+01:00",
  "page_type": "content",
  "content_hash": "f27efd376d0c5e178e89e96a35bcce9f313769c5328b239c72876908bab97599",
  "sections": [
    {
      "id": "content",
      "title": "Content",
      "role": "content",
      "text": "Run `./install.sh --help` to view command-line options supported by the installation script.\n\nThe following options are supported:\n\n| Option | Description |\n|--------|-------------|\n| `-y` | Automatically answers `yes` to all install prompts, accepting all default values<br/>See [Manage install questions](https://redis.io/docs/latest/operate/rs/installing-upgrading/install/manage-installation-questions)|\n| <nobr>`-c <answer file>`</nobr> | Specify answer file used to respond to install prompts<br/>See [Manage install questions](https://redis.io/docs/latest/operate/rs/installing-upgrading/install/manage-installation-questions)|\n| <nobr>`-s <socket dir>`</s> | Specify directory for redislabs unix sockets  _(new installs only)_|\n| <nobr>`--install-dir <dir>`</nobr> | Specifies installation directory _(new installs only)_ <br/> See [Customize install locations](https://redis.io/docs/latest/operate/rs/installing-upgrading/install/customize-install-directories)|  \n| <nobr>`--config-dir <dir>` | Configuration file directory *(new installs only)* <br/>See [Customize install locations](https://redis.io/docs/latest/operate/rs/installing-upgrading/install/customize-install-directories)|\n| <nobr>`--var-dir <dir>`</nobr> | Var directory used for installation *(new installs only)* <br/>See [Customize install locations](https://redis.io/docs/latest/operate/rs/installing-upgrading/install/customize-install-directories)|\n| <nobr>`--os-user <user>`| Operating system user account associated with install; default: `redislabs`<br/>See [Customize user and group](https://redis.io/docs/latest/operate/rs/installing-upgrading/install/customize-user-and-group) *(new installs only)*|\n|<nobr>`--os-group <group>` | Operating system group associated with install; default: `redislabs`<br/>See [Customize user and group](https://redis.io/docs/latest/operate/rs/installing-upgrading/install/customize-user-and-group) *(new installs only)* |\n| `--skip-dns-port-verification` | Skip DNS port verification during installation |\n| <nobr>`--update-env-path`</nobr> | Add paths related to Redis Software to root's PATH environment variable<br/>See [Manage install questions](https://redis.io/docs/latest/operate/rs/installing-upgrading/install/manage-installation-questions) |"
    }
  ],
  "examples": []
}
