bun add.
terminal
This adds the package to
dependencies in package.json. By default, Bun uses the ^ range specifier, which accepts future minor and patch versions.
package.json
To pin your project to the exact version you installed, use
--exact. This adds the package to dependencies without the ^.
terminal
To specify an exact version or a tag:
terminal
See
bun install.