Bun bun-v0.0.56stable Released Dec 21, 2021
Impact Score: 5/10

Bun v0.0.56

Source available โ€” automated, not human-reviewed

Component: bun ยท Channel: stable. Automated analysis, not a compatibility certification. How this works.

Analysis updated: 2026-11-01.

Compatibility not verified โ€” check source notes
๐Ÿ“„ .MD
โšก Executive Summary (TL;DR)

Bun bun-v0.0.56. Source highlight: Today is an exciting day. Introducing `bun install` โ€“ an incredibly fast npm client.

Who Does This Impact? (Role-Based Analysis)

๐Ÿ’ป Software Engineers & Devs

Check the source notes against the package and APIs you use before upgrading.

๐Ÿ“Š Product & Engineering Leads

Use the documented changes to assess relevance to your product; release frequency alone is not a quality measure.

โš™๏ธ DevOps & Security

Verify the target version, runtime requirements and rollback procedure in the official documentation.

๐Ÿ”ง Bug Fixes & Patches (1)

  • `node-gyp` isn't supported yet either, but that will be fixed.
๐Ÿ“„ View Raw Release Notes (Original Developer Log)
To upgrade: ```bash bun upgrade ``` ## bun install Today is an exciting day. Introducing `bun install` โ€“ an incredibly fast npm client. Before I get into perf numbers, consider this especially early. - workspaces not implemented yet - `link:` not implemented yet - `github:` not implemented yet - `git:` not implemented yet - Config file where you can set registry and auth tokens is not implemented yet. That means private packages won't really work yet (though it does read `$npm_config_registry`) - The lockfile format may change a little in the coming weeks (which would invalidate existing lockfiles) - postinstall will not be supported (probably won't be [opt-in](https://github.com/npm/rfcs/pull/488) either). `esbuild` and `turbo` get special treatment I'm calling "native bin linking". I plan to write a more generalizable proposal for this that other npm clients can adopt to make shipping binary executables on npm faster & simpler - `node-gyp` isn't supported yet either, but that will be fixed. ### Linux **100x faster npm install** for incremental installs. In this case, only react is missing (the cleanup resets node_modules), each package manager has an up-to-date lockfile, and packages have previously downloaded before (disk cache) <img src="https://user-images.githubusercontent.com/709451/146924903-175dcfbd-c3a5-4a89-860b-c73178b35268.png" /> 20x faster than npm install when node_modules is empty. In this case, each package manager has an up-to-date lockfile and packages have also been downloaded before. ![image](https://user-images.githubusercontent.com/709451/147004342-571b6123-17a9-49a2-8bfd-dcfc5204047e.png) When there are no changes, `bun install` is 100x faster than npm install ![image](https://user-images.githubusercontent.com/709451/147003624-82154661-42f9-4cd4-b09a-6b66c2c56ff6.png) ### macOS Note: currently macOS installs are single-threaded & parallelism may help when there are > 100 packages, so these numbers may improve later 80x faster npm install for incremental installs. ![image](https://user-images.githubusercontent.com/709451/147006020-1c4c79ce-269c-4418-96c8-999b0da103a1.png) 4x faster npm install when there is no node_modules folder ![image](https://user-images.githubusercontent.com/709451/147007957-03442dfd-22df-4296-845d-67b0dd3a76f9.png) When there are no changes, 80x faster than npm install ![image](https://user-images.githubusercontent.com/709451/147006817-9251ead6-68fc-47be-a777-fc1ad807fea0.png) ### Autocomplete Thanks to @evanwashere, `bun add` has autocomplete for the top 10,000 npm packages. It also searches your shell's history to complete from. ![Screen_Recording_2021-12-19_at_11 32 08_PM](https://user-images.githubusercontent.com/709451/147006855-7e323039-b447-4849-aa44-07c93457372f.gif) Fish completions: ![image](https://user-images.githubusercontent.com/709451/147006938-46b0e831-e32d-456c-9179-f362f847b851.png) #### Why is it faster? I will do a longer write up on why it's faster. Zig is part of that, but a lot of work went into data layout, the lockfile format, the https client, the manifest cache format, and a lot of other stuff.