[Runtime
](../../../index.md)[Package Manager
](../../../pm/cli/install/index.md)[Bundler
](../../../bundler/index.md)[Test Runner
](../../../test/index.md)[Guides
](../../index.md)[Reference
](https://bun.com/reference)[Blog
](https://bun.com/blog)[Feedback
](../../../feedback/index.md)
Get the current version of Bun in a semver format.
index.ts
Bun.version; // => "1.3.3"
Get the exact git commit of oven-sh/bun that was compiled to produce this Bun binary.
index.ts
Bun.revision; // => "49231b2cb9aa48497ab966fc0bb6b742dacc4994"
See Docs > API > Utils for more useful utilities.
Was this page helpful?
[
Detect when code is executed with Bun
Previous
](../detect-bun/index.md)[
Hash a password
Next
](../hash-a-password/index.md)