Skip to content

Install microCI

microCI is designed to stay lightweight: one YAML pipeline, one generated Bash script, and a small set of runtime requirements.

Requirements

microCI relies on a small set of standard tools:

  • bash โ€” runs the generated pipeline script
  • docker โ€” provides isolated execution environments for steps
  • jq โ€” handles JSON data when pipelines need to inspect or transform structured output
  • yq โ€” handles YAML data when pipelines need to read or update configuration files

These tools are necessary because microCI generates Bash and expects a minimal runtime layer to execute portable steps consistently across machines.

At runtime, the simplicity stays the same: microCI | bash.

To run only specific steps, use -O/--only for a single named step or -N/--number with one or more comma-separated step numbers, such as microCI --number 2,3,5.

Install microCI

Install

curl -fsSL https://microci.dev/install.sh | bash

Install Docker Engine

Docker is a core requirement for microCI. It provides isolated execution environments for all pipeline steps, ensuring consistency and reproducibility across different machines and operating systems.

Quick Installation

The fastest way to install Docker Engine on most Linux distributions:

curl -fsSL https://get.docker.com | sh

This script automatically detects your Linux distribution and installs Docker Engine with all necessary dependencies.

Platform-Specific Installation

For detailed installation instructions tailored to your operating system, visit the official Docker documentation:

Post-Installation Configuration (Linux)

On Linux systems, Docker commands require elevated privileges by default. To use Docker as a non-root user:

sudo usermod -aG docker $USER
newgrp docker

After running these commands, log out and log back in for the group changes to take effect.

Verify Installation

Confirm that Docker is properly installed and accessible:

docker --version
docker run hello-world

Update

Keep the same workflow and refresh the binary:

Update

microCI --update | bash

To track development builds instead:

microCI --update-dev | bash

Remove

Remove microCI from your system:

Uninstall

microCI --uninstall | bash