Skip to main content
Bun’s package manager can install any publicly available tarball URL as a dependency of your project.
terminal

This command downloads, extracts, and installs the tarball into your project’s node_modules directory, and adds the following line to your package.json:
package.json

You can now import zod as usual.

See bun install.