Skip to main content
To add an npm package as a development dependency, use bun add --development.
terminal

This adds the package to devDependencies in package.json.

See bun install.