File SystemUtilities
Upgrade Bun to the latest version
Bun upgrades itself with the built-in bun upgrade command.
Codesign a single-file JavaScript executable on macOS
Fix the "can't be opened because it is from an unidentified developer" Gatekeeper warning when running your JavaScript executable.
Detect when code is executed with Bun
Check process.versions.bun to detect whether code is running in Bun. This works in both JavaScript and TypeScript without extra type definitions.