Setting your Bun Version

Current default Bun version

1.1.0

Set a different Bun version in any of the following ways (in descending order of precedence):

  1. Set the BUN_VERSION environment variable for your service in the Render Dashboard:

    Setting the BUN_VERSION environment variable

  2. Add a file named .bun-version to the root of your repo. This file contains a single line with the version to use:

    text
    1.2.10
  3. If neither of the above is specified, Render uses the platform's default version (currently 1.1.0).

You can specify either a semantic version number (such as 1.2.10) or use latest to always use the most recent version of Bun with every deploy.

History of default Bun versions

If you don't set a Bun version for your service, Render's default version depends on when you originally created the service:

Service Creation DateDefault Bun Version
2024-04-03 and later1.1.0