Skip to main content
Bun supports directly adding GitHub repositories as dependencies of your project.
terminal

This adds the following line to your package.json:
package.json

Bun supports a number of protocols for specifying Git dependencies.
terminal
When possible, Bun downloads GitHub dependencies as HTTP tarballs, which is faster.
See bun install.