bun Verified for current stable LTS

Bun Command: Run Javascript File Or Package Script

Use for run javascript file or package script with Bun. Exact CLI syntax to run javascript file or package script using Bun.

When to use this: Use for run javascript file or package script with Bun.

Command Syntax

bun run <path/to/file|script_name>

Command Breakdown

bun is the base executable for this command.

FAQ

Purpose: Exact syntax to run javascript file or package script using Bun.

Test path: Replace placeholders and run destructive commands in a disposable workspace first.

Flag behavior: Tool version, platform, and shell can change behavior.

Improve This Command

Suggest a correction, safer default, or version-specific note for this entry.

Related Operations

Back to Bun directory