Bun Get the current Bun version

Get the current Bun version

jarle Updated

File contents

Get the current Bun version

Get the current version of Bun in a semver format.

Bun.version; // => "1.3.3"

Get the exact git commit of oven-sh/bun that was compiled to produce this Bun binary.

Bun.revision; // => "49231b2cb9aa48497ab966fc0bb6b742dacc4994"

See Docs > API > Utils for more useful utilities.

jarle/bun-skills/tree/main/skills/bun-guides-util-version commit 0b691bef07

Frequently asked questions

npx skillmds@latest add jarle/bun-get-the-current-bun-version