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

This will add the following line to your package.json:
package.json

Bun supports a number of protocols for specifying Git dependencies.
terminal
Note: GitHub dependencies download via HTTP tarball when possible for faster installation.
See Docs > Package manager for complete documentation of Bun’s package manager.