arrow run

Execute a pipeline defined in your project. This is the primary command for running workflows - it resolves dependencies, executes steps, and reports results.

Syntax

bash
arrow run [pipeline] [flags]

If no pipeline name is given, arrow runs the default pipeline defined in arrow.yaml.

Flags

FlagTypeDefaultDescription
--no-cacheboolfalseDisable caching and re-run all steps
--dry-runboolfalseShow what would run without executing
--verboseboolfalseShow full command output for each step
--timeoutduration30mMaximum time before a pipeline is killed
--envstringArray[]Set environment variables (KEY=VALUE)
--onlystringRun only a specific step by name

Examples

Run the default pipeline:

terminal
$ arrow run
(1/3) lint ....... done (0.6s)
(2/3) test ....... done (1.2s)
(3/3) build ...... done (2.1s)
Completed in 3.9s

Run a specific pipeline with environment variables:

bash
arrow run deploy --env NODE_ENV=production --env API_KEY=$API_KEY

Force a full re-run (skip cache):

bash
arrow run build --no-cache

Preview what would run:

terminal
$ arrow run build --dry-run
Pipeline: build (4 steps)
install (needs: none) [cached]
lint (needs: install) [cached]
test (needs: install) [cached]
build (needs: lint, test) [stale]
1 step will execute, 3 cached

Run a single step:

bash
arrow run build --only lint