setup Command
What It’s For
Section titled “What It’s For”Bootstrap development environments consistently across repositories.
What It Does
Section titled “What It Does”- Runs repository setup scripts in workspace order.
- Supports targeting selected repositories with
--only. - Reports skipped repositories and setup failures in a final summary.
arashi setup [options]Key Options
Section titled “Key Options”--only <repo>run setup for specific repositories (repeatable).--group <group>run setup only for repositories in the requested group (repeatable).-v, --verboseprint full setup script output.--jsonoutput machine-readable setup results.
Examples
Section titled “Examples”# Run setup across all repositoriesarashi setup
# Run setup for selected repositoriesarashi setup --only api --only web
# Run setup for extension repositoriesarashi setup --group extensions
# Show full script output while setup runsarashi setup --verbose
# Run setup for one repo and emit JSONarashi setup --only api --json- Setup targets without scripts are reported as skipped.
--grouptargets configured semantic sets; with--only, it narrows the explicit repository selection by intersection.- Failed or timed-out setup runs return a non-zero exit code.
- In JSON mode, stdout contains one result document; setup script diagnostics are captured or kept off stdout.
Related Commands
Section titled “Related Commands”setup depends on configured repositories and setup scripts, so it requires configured mode. From standalone mode, run ordinary arashi init to upgrade; see the Standalone Repository workflow.