# 版本命令（version）

> pgBackRest `version` 命令的选项与行为参考。

---

LLMS 索引： [llms.txt](/zh/llms.txt)

---

显示已安装的 pgBackRest 版本。

## 命令选项

### 输出格式选项（`--output`）

输出类型。

支持以下输出类型：

- `text` — 以文本形式显示已安装的 pgBackRest 版本。
- `num` — 以整数形式显示已安装的 pgBackRest 版本。

```yaml
default: text
example: --output=num
```

---

反链：

- [命令参考](/zh/docs/pgbackrest/command/)
