Install
Clone all repositories in the active profile and run their install tasks.
raid install [repo] [-t <threads>]
What it does
- Clones all repositories concurrently (throttled by
-tif set) - Runs profile-level install tasks
- Runs each repository's install tasks in profile order
If a repository already exists at its configured path, cloning is skipped.
Options
| Flag | Description |
|---|---|
[repo] | Install only the named repository (profile-level tasks are skipped) |
-t, --threads | Max concurrent clone threads (default: unlimited) |
Examples
Install all repositories in the active profile:
raid install
Install a single repository:
raid install api
Limit to 4 concurrent clones:
raid install -t 4
Install tasks
Install tasks are defined in the profile and in individual repository raid.yaml files. See Profile Configuration for the full format.
profile.yaml
install:
tasks:
- type: Print
message: "Running global setup..."
- type: Shell
cmd: "brew bundle --file=~/Brewfile"
repositories:
- name: "api"
url: "[email protected]:my-org/api.git"
path: "~/dev/api"
install:
tasks:
- type: Shell
cmd: "npm install"