bun-install
A tool for installing commands from local projects and NPM packages into Bun’s global store
What does it do?
Run it from a project root or subdirectory to install commands from a local workspace, or pass a package specifier to fetch an NPM package. Selecting commands by binary name avoids creating global links for unselected commands. If needed, it can change installed commands’ shebangs so they run with the Bun runtime.
Key features
- Installs local workspace CLI commands into Bun’s global package store
- Fetches and globally installs packages from NPM package specifiers
- Selects commands to install by binary name
- Prevents unselected commands from overwriting existing global links
- Runs installed commands with the Bun runtime using the --bun option
- Allows installation scripts for required dependencies using the --trust option