bunx
Execute a package binary (installed locally or fetched remotely). tldr-pages
On several platforms
Several platforms
Execute a package binary (installed locally or fetched remotely). Note: bun x can be used as an alias for bunx.
Download and execute a package from the registry
bunx package_name "command_argument"IdentifyCheck the version of a locally installed package (if found)
bunx package_name --versionIdentifyForce an executable to run with the Bun runtime (instead of Node)
bunx --bun package_nameIdentifyExecute a binary that has a different name than its package
bunx --package package_name commandIdentifyDownload and execute a specific version of a package
bunx package_name@version "command_argument"Identify