# SHOW VERSION

<!-- example SHOW VERSION -->
```sql
SHOW VERSION
```

> 注意：`SHOW VERSION` 需要 [Manticore Buddy](../Installation/Manticore_Buddy.md)。如果无法使用，请确保已安装 Buddy。

`SHOW VERSION` 提供 Manticore Search 实例各个组件的详细版本信息。该命令对需要验证所运行的 Manticore Search 版本及其相关组件版本的管理员和开发人员特别有用。

输出表包含两列：
- `Component`：此列显示 Manticore Search 的具体组件名称。
- `Version`：此列显示对应组件的版本信息。

<!-- request SQL -->
```sql
mysql> SHOW VERSION;
```

<!-- response SQL -->
```
+------------+-------------------------------------+
| Component  | Version                             |
+------------+-------------------------------------+
| Daemon     | 13.13.4 0bc5a9641@25101507 dev      |
| Columnar   | columnar 8.1.0 e1522a2@25100213     |
| Secondary  | secondary 8.1.0 e1522a2@25100213    |
| Knn        | knn 8.1.0 e1522a2@25100213          |
| Embeddings | embeddings 1.0.1                    |
| Buddy      | buddy v3.35.1+25090418-41d9811f-dev |
+------------+-------------------------------------+
```

<!-- request JSON -->
```JSON
POST /sql?mode=raw -d "SHOW VERSION"
```

<!-- response JSON -->
```JSON
[
  {
    "total": 6,
    "error": "",
    "warning": "",
    "columns": [
      {
        "Component": {
          "type": "string"
        }
      },
      {
        "Version": {
          "type": "string"
        }
      }
    ],
    "data": [
      {
        "Component": "Daemon",
        "Version": "13.13.4 0bc5a9641@25101507 dev"
      },
      {
        "Component": "Columnar",
        "Version": "columnar 8.1.0 e1522a2@25100213"
      },
      {
        "Component": "Secondary",
        "Version": "secondary 8.1.0 e1522a2@25100213"
      },
      {
        "Component": "Knn",
        "Version": "knn 8.1.0 e1522a2@25100213"
      },
      {
        "Component": "Embeddings",
        "Version": "embeddings 1.0.1"
      },
      {
        "Component": "Buddy",
        "Version": "buddy v3.35.1+25090418-41d9811f-dev"
      }
    ]
  }
]
```

<!-- end -->

<!-- proofread -->

