Skip to content

CLI

Runs a Rune project directly from source without building. Rune-managed options (such as --project) must appear before the command name. Everything from the command name onward is passed through to the user’s command as-is.

Terminal window
rune run [options] <command> [command-args...]
OptionTypeDescription
--project <path>stringPath to the Rune project root. Defaults to the current directory.
Terminal window
rune run hello
rune run --project ./my-app hello
rune run greet world --loud

rune run regenerates .rune/global-options.d.ts before execution so editor type inference stays up to date.

Generates Rune project type metadata and validates global options against command options.

Terminal window
rune sync [options]
OptionTypeDescription
--project <path>stringPath to the Rune project root. Defaults to the current directory.
Terminal window
rune sync
rune sync --project ./my-app

Builds a Rune project into a distributable CLI.

Terminal window
rune build [options]
OptionTypeDescription
--project <path>stringPath to the Rune project root. Defaults to the current directory.
Terminal window
rune build
rune build --project ./my-app

rune build regenerates .rune/global-options.d.ts and validates global options against command options before building.