LinuxCommandLibrary

bun-exec

Execute package binaries

TLDR

Execute a package binary

$ bun exec [binary] [args...]
copy
Execute a local package binary
$ bun exec ./node_modules/.bin/[binary]
copy

SYNOPSIS

bun exec command [args...]

DESCRIPTION

bun exec executes a command, typically a binary from an installed package. It's similar to npx but integrated with Bun's faster runtime.
The command searches for executables in node_modules/.bin and in the PATH.

SEE ALSO

bun(1), bun-x(1), bun-run(1)

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community