# Get the current Bun version (/docs/guides/util/version)

<!-- agent-signals: reading_time_min: 1 · est_tokens: 111 · updated: 2026-07-28 -->
Related: [Upgrade Bun to the latest version](/docs/guides/util/upgrade.md), [Detect when code is executed with Bun](/docs/guides/util/detect-bun.md), [Hash a password](/docs/guides/util/hash-a-password.md), [Generate a UUID](/docs/guides/util/javascript-uuid.md), [Encode and decode base64 data](/docs/guides/util/base64.md), [Compress and decompress data with gzip](/docs/guides/util/gzip.md)

`Bun.version` contains the current version of Bun in semver format.

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

***

`Bun.revision` contains 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 [Utils](/runtime/utils).
