{
  "schema_version": 2,
  "id": "commands/command-list",
  "title": "COMMAND LIST",
  "url": "https://redis.io/docs/latest/commands/command-list/",
  "summary": "Returns a list of command names.",
  "since": "7.0.0",
  "tags": [
    "docs",
    "develop",
    "stack",
    "oss",
    "rs",
    "rc",
    "oss",
    "kubernetes",
    "clients"
  ],
  "last_updated": "2026-09-18T09:48:09+01:00",
  "page_type": "content",
  "content_hash": "665a2a07be55cc03123e99db49ced95a74953be294c8ad3230c8ead4cae4a257",
  "sections": [
    {
      "id": "overview",
      "title": "Overview",
      "role": "overview",
      "text": "Return an array of the Redis server's command names."
    },
    {
      "id": "optional-arguments",
      "title": "Optional arguments",
      "role": "parameters",
      "text": "<details open><summary><code>FILTERBY MODULE module-name | ACLCAT category | PATTERN pattern</code></summary>\n\nFilter the listed commands by module (`MODULE`), [ACL category](https://redis.io/docs/latest/operate/oss_and_stack/management/security/acl#command-categories) (`ACLCAT`), or a glob-style name pattern (`PATTERN`).\n\n</details>"
    },
    {
      "id": "redis-software-and-redis-cloud-compatibility",
      "title": "Redis Software and Redis Cloud compatibility",
      "role": "content",
      "text": "| Redis<br />Software | Redis<br />Cloud | <span style=\"min-width: 9em; display: table-cell\">Notes</span> |\n|:----------------------|:-----------------|:------|\n| <span title=\"Supported\">&#x2705; Standard</span><br /><span title=\"Supported\"><nobr>&#x2705; Active-Active</nobr></span> | <span title=\"Supported\">&#x2705; Standard</span><br /><span title=\"Supported\"><nobr>&#x2705; Active-Active</nobr></span> |  |"
    },
    {
      "id": "return-information",
      "title": "Return information",
      "role": "returns",
      "text": "**RESP2:**\n\n[Array reply](../../develop/reference/protocol-spec#arrays): a list of command names.\n\n**RESP3:**\n\n[Array reply](../../develop/reference/protocol-spec#arrays): a list of command names."
    }
  ],
  "examples": []
}
