---
name: "Bash Parallel"
description: "Runs a Bash script in parallel across multiple agents."
author: "buildkite"
repo: "bash-parallel-example"
stars: 5
demo: "https://buildkite.com/buildkite/bash-parallel-example/builds/latest?branch=main"
---

# Buildkite Parallel Bash Pipeline Example


This repository is an example [Buildkite](https://buildkite.com/) pipeline for running a simple bash script in parallel across multiple agents, [script.sh](https://github.com/buildkite/bash-parallel-example/blob/HEAD/script.sh).



See the full [Getting Started Guide](https://buildkite.com/docs/guides/getting-started) for step-by-step instructions on how to get this running.


<a href="https://buildkite.com/buildkite/bash-parallel-example/builds/latest?branch=main">
  <img width="1503" alt="Screenshot of Buildkite parallel Bash example pipeline" src="https://raw.githubusercontent.com/buildkite/bash-parallel-example/main/.buildkite/screenshot.png" />
</a>

<!-- docs:start -->
## How it works

This pipeline runs a Bash script (`script.sh`) in parallel using Buildkite’s parallelism features. Each parallel step executes independently across agents.

<!-- docs:end -->

## License

See [LICENSE.md](https://github.com/buildkite/bash-parallel-example/blob/HEAD/LICENSE.md) (MIT)