rembrembdocs

Run Prisma migrations

bunx prisma migrate

Format a file with Prettier

bunx prettier foo.js

Run a specific version of a package

bunx uglify-js@3.14.0 app.js

Use --package when binary name differs from package name

bunx -p @angular/cli ng new my-app

Force running with Bun instead of Node.js, even if the executable contains a Node shebang

bunx --bun vite dev foo.js


Was this page helpful?

[Suggest edits](https://github.com/oven-sh/bun/edit/main/docs/pm/bunx.mdx)[Raise issue](<https://github.com/oven-sh/bun/issues/new?title=Issue on docs&body=Path: /pm/bunx>)

[

bun update

Previous

](../cli/update/index.md)[

bun publish

Next

](../cli/publish/index.md)