---
title: Get the current Bun version
sidebarTitle: Get Bun version
mode: center
---

Get the current version of Bun in a semver format.

```ts index.ts icon="/icons/typescript.svg"
Bun.version; // => "1.3.3"
```

---

Get the exact `git` commit of [`oven-sh/bun`](https://github.com/oven-sh/bun) that was compiled to produce this Bun binary.

```ts index.ts icon="/icons/typescript.svg"
Bun.revision; // => "49231b2cb9aa48497ab966fc0bb6b742dacc4994"
```

---

See [Docs > API > Utils](/runtime/utils) for more useful utilities.
