markovd.

THE ENGINE / INSTALLATION

Install Markov.

From a clean machine to your first workflow. Choose a native Linux package or run the container image.

First-party engine packages. No Go compiler needed. Bash and CA certificates are dependencies; agent CLIs and infrastructure tools are optional. Support is best effort; packages are not endorsed by the distributions.

Supported platforms

PlatformVersionsArchitectures
Debian 13amd64, arm64
Ubuntu 24.04, 26.04amd64, arm64
Fedora 44, 45x86_64, aarch64
RHEL (UBI validated) 9, 10x86_64, aarch64
Rocky Linux 9, 10x86_64, aarch64
AlmaLinux 9, 10x86_64, aarch64
openSUSE Leap 16.1x86_64, aarch64
openSUSE Tumbleweed rollingx86_64, aarch64
Alpine 3.24x86_64, aarch64
Arch rollingx86_64
Omarchy rollingx86_64

Stable is the initial channel. Numeric OS-version URLs never change meaning. Arch and Omarchy use rolling, as does openSUSE Tumbleweed. RHEL compatibility is validated with UBI containers; full RHEL host, FIPS and certification coverage is not claimed. Arm64 container tests use emulation; the engine also has native Arm CI.

Verify the signing key

Use Bash for these commands. Install curl, CA certificates and GnuPG with your OS package manager first. Choose the prerequisite command for your OS:

# Debian / Ubuntu:
sudo apt update && sudo apt install curl gnupg ca-certificates
# Fedora / RHEL / Rocky / AlmaLinux:
sudo dnf install curl gnupg2 ca-certificates
# openSUSE:
sudo zypper install curl gpg2 ca-certificates
# Alpine, as root (then use the Bash session for this guide):
apk add bash curl gnupg ca-certificates
bash
# Arch:
sudo pacman -Syu --needed curl gnupg ca-certificates
# Omarchy:
omarchy update && sudo pacman -S --needed curl gnupg ca-certificates

Compare these full fingerprints with an announcement you trust before continuing:

Primary fingerprint
F50B9360C2C9C876476017A33B8A1C64696AECEF
Signing subkey
B0BEFAA736416BC0118E5EC33CF4648EB2925C50

The verification function below rejects additional certificates and unexpected fingerprints. Keep it in the same Bash session for the setup commands that follow. A fingerprint mismatch is a reason to stop.

markov_verify_key() (
  set -euo pipefail
  gpg --batch --with-colons --show-keys "$1" |
    awk -F: '$1=="pub" {p++} $1=="fpr" {n++; if(n==1) a=$10; if(n==2) b=$10}
      END {exit !(p==1 && n==2 &&
        a=="F50B9360C2C9C876476017A33B8A1C64696AECEF" &&
        b=="B0BEFAA736416BC0118E5EC33CF4648EB2925C50")} '
)
(
  set -euo pipefail
  mkdir -p "$HOME/.cache/markov-install"
  curl --fail --location --proto '=https' --tlsv1.2 \
    https://markovd.com/repos/keys/markov-archive.asc \
    -o "$HOME/.cache/markov-install/markov-archive.asc"
  markov_verify_key "$HOME/.cache/markov-install/markov-archive.asc"
  echo 'Signing certificate fingerprints match.'
)

Debian / Ubuntu

Run the common certificate verification above first. This writes a scoped APT keyring and a deb822 source for your supported OS and architecture.

(
  set -euo pipefail
  . /etc/os-release
  case "$ID:$VERSION_ID" in
    debian:13|ubuntu:24.04|ubuntu:26.04) ;;
    *) echo 'Unsupported OS version'; exit 1 ;;
  esac
  arch=$(dpkg --print-architecture)
  case "$arch" in amd64|arm64) ;; *) echo 'Unsupported architecture'; exit 1 ;; esac
  key="$HOME/.cache/markov-install/markov-archive.asc"
  markov_verify_key "$key"
  gpg --batch --yes --dearmor --output "$HOME/.cache/markov-install/markov-archive.gpg" "$key"
  sudo install -D -m 644 "$HOME/.cache/markov-install/markov-archive.gpg" /usr/share/keyrings/markov-archive.gpg
  sudo tee /etc/apt/sources.list.d/markov.sources >/dev/null <<EOF
Types: deb
URIs: https://markovd.com/repos/$ID/$VERSION_ID/
Suites: stable
Components: main
Architectures: $arch
Signed-By: /usr/share/keyrings/markov-archive.gpg
EOF
  sudo apt update
  sudo apt install markov
)

Update or remove:

sudo apt update && sudo apt install --only-upgrade markov
sudo apt remove markov

Fedora

Run the common certificate verification first. Both package and repository signatures stay enabled.

(
  set -euo pipefail
  . /etc/os-release
  case "$ID:$VERSION_ID" in fedora:44|fedora:45) ;; *) echo 'Unsupported OS version'; exit 1 ;; esac
  case "$(uname -m)" in x86_64|aarch64) ;; *) echo 'Unsupported architecture'; exit 1 ;; esac
  key="$HOME/.cache/markov-install/markov-archive.asc"
  markov_verify_key "$key"
  sudo rpm --import "$key"
  sudo tee /etc/yum.repos.d/markov.repo >/dev/null <<EOF
[markov]
name=Markov first-party packages
baseurl=https://markovd.com/repos/fedora/$VERSION_ID/stable/\$basearch/
enabled=1
gpgcheck=1
repo_gpgcheck=1
gpgkey=https://markovd.com/repos/keys/markov-archive.asc
EOF
  sudo dnf install markov
)
sudo dnf upgrade markov
sudo dnf remove markov

RHEL / Rocky / AlmaLinux

Run the common certificate verification first. Repository URLs use the OS major (9 or 10), never its minor version.

(
  set -euo pipefail
  . /etc/os-release
  case "$ID" in rhel|rocky|almalinux) ;; *) echo 'Unsupported OS'; exit 1 ;; esac
  major=${VERSION_ID%%.*}
  case "$major" in 9|10) ;; *) echo 'Unsupported OS major'; exit 1 ;; esac
  case "$(uname -m)" in x86_64|aarch64) ;; *) echo 'Unsupported architecture'; exit 1 ;; esac
  key="$HOME/.cache/markov-install/markov-archive.asc"
  markov_verify_key "$key"
  sudo rpm --import "$key"
  sudo tee /etc/yum.repos.d/markov.repo >/dev/null <<EOF
[markov]
name=Markov first-party packages
baseurl=https://markovd.com/repos/$ID/$major/stable/\$basearch/
enabled=1
gpgcheck=1
repo_gpgcheck=1
gpgkey=https://markovd.com/repos/keys/markov-archive.asc
EOF
  sudo dnf --refresh install markov
)
sudo dnf --refresh upgrade markov
sudo dnf remove markov

openSUSE Leap / Tumbleweed

Run the common certificate verification first. Leap uses 16.1; Tumbleweed uses rolling. Both repository and package checks are enabled.

(
  set -euo pipefail
  . /etc/os-release
  case "$ID" in
    opensuse-leap) test "$VERSION_ID" = 16.1; version=16.1 ;;
    opensuse-tumbleweed) version=rolling ;;
    *) echo 'Unsupported openSUSE release'; exit 1 ;;
  esac
  case "$(uname -m)" in x86_64|aarch64) ;; *) echo 'Unsupported architecture'; exit 1 ;; esac
  key="$HOME/.cache/markov-install/markov-archive.asc"
  markov_verify_key "$key"
  sudo rpm --import "$key"
  sudo tee /etc/zypp/repos.d/markov.repo >/dev/null <<EOF
[markov]
name=Markov first-party packages
baseurl=https://markovd.com/repos/opensuse/$version/stable/\$basearch/
enabled=1
autorefresh=1
gpgcheck=1
repo_gpgcheck=1
pkg_gpgcheck=1
gpgkey=https://markovd.com/repos/keys/markov-archive.asc
EOF
  sudo zypper refresh markov
  sudo zypper install --no-recommends markov
)
sudo zypper refresh --force markov
sudo zypper update markov
sudo zypper remove markov

Alpine

Alpine uses a separate native RSA key. Compare its public-key SHA256 with an announcement you trust before installing it. This is not the OpenPGP fingerprint.

# Run in the same root Bash session as the certificate setup above.
(
  set -euo pipefail
  test "$(id -u)" = 0
  . /etc/os-release
  test "$ID" = alpine
  case "$VERSION_ID" in 3.24|3.24.*) ;; *) echo 'Unsupported Alpine release'; exit 1 ;; esac
  case "$(apk --print-arch)" in x86_64|aarch64) ;; *) echo 'Unsupported architecture'; exit 1 ;; esac
  key="$HOME/.cache/markov-install/markov-apk.rsa.pub"
  curl --fail --location --proto '=https' --tlsv1.2 \
    https://markovd.com/repos/keys/markov-apk.rsa.pub -o "$key"
  expected=0d33b6a9c939d34db37f1b48f66158c416aabf824f3923fc615bababe7d731ef
  printf '%s  %s\n' "$expected" "$key" | sha256sum --check -
  install -m 644 "$key" /etc/apk/keys/markov-apk.rsa.pub
  repo=https://markovd.com/repos/alpine/3.24/stable/
  grep -Fqx "$repo" /etc/apk/repositories || printf '%s\n' "$repo" >> /etc/apk/repositories
  apk update
  apk add markov
)
# As root:
apk update && apk upgrade markov
apk del markov

Native public-key SHA256: 0d33b6a9c939d34db37f1b48f66158c416aabf824f3923fc615bababe7d731ef. APK selects the architecture automatically; do not append it to the repositories-file entry.

Arch / Omarchy

Run the common certificate verification first, then import and locally trust the verified certificate:

(
  set -euo pipefail
  test "$(uname -m)" = x86_64
  key="$HOME/.cache/markov-install/markov-archive.asc"
  markov_verify_key "$key"
  sudo pacman-key --add "$key"
  sudo pacman-key --lsign-key F50B9360C2C9C876476017A33B8A1C64696AECEF
)

Add this entry once to /etc/pacman.conf. For Omarchy, replace arch with omarchy:

[markov]
SigLevel = PackageRequired DatabaseRequired TrustedOnly
Server = https://markovd.com/repos/arch/rolling/stable/$arch/

Arch install, update and removal:

sudo pacman -Syu markov
sudo pacman -Syu
sudo pacman -R markov

Omarchy uses its supported updater. Do not bypass its upgrade guard or use partial pacman -Sy upgrades:

# Use /repos/omarchy/rolling/stable/$arch/ in pacman.conf.
omarchy update && sudo pacman -S markov
# Later updates, including Markov:
omarchy update
sudo pacman -R markov

Compatibility testing used Omarchy 4.5.0: installation, its updater, reboot, upgrade, removal and native snapshot recovery passed. Console updater runs reported a desktop-shell readiness warning; graphical session readiness has not been validated. Follow updater restart instructions. The repository URL stays /repos/omarchy/rolling/.

Run your first workflow

mkdir -p ~/markov-quickstart && cd ~/markov-quickstart
cp /usr/share/markov/examples/quickstart.yaml .
markov --version
markov validate quickstart.yaml
markov run quickstart.yaml
cat quickstart-report.md

Container image

ghcr.io/vokramd/markov:0.2.2 supports Linux amd64 and arm64 and uses Debian 13 trixie-slim. Public pulls need no GitHub login. Pin this release's OCI index digest:

sha256:2e826c5e727b7cd034c732b53ad8a8e2e82891f49a228f363ac806cb7bc18fb5

Verify the digest against the signed release checksums before pulling. After the common certificate setup:

(
  set -euo pipefail
  key="$HOME/.cache/markov-install/markov-archive.asc"
  markov_verify_key "$key"
  verify=$(mktemp -d "$HOME/.cache/markov-install/verify.XXXXXX")
  export GNUPGHOME="$verify/keyring"
  mkdir -m 700 "$GNUPGHOME"
  cd "$verify"
  release=https://github.com/vokramd/markov/releases/download/v0.2.2
  for file in checksums.txt checksums.txt.sig oci-index-digest.txt; do
    curl --fail --location --proto '=https' --tlsv1.2 "$release/$file" -o "$file"
  done
  gpg --batch --import "$key"
  gpg --verify checksums.txt.sig checksums.txt
  grep '  oci-index-digest.txt$' checksums.txt | sha256sum --check -
  test "$(cat oci-index-digest.txt)" = 'sha256:2e826c5e727b7cd034c732b53ad8a8e2e82891f49a228f363ac806cb7bc18fb5'
)

This verifies the image digest through OpenPGP-signed release checksums. Run the image as your own UID/GID with a writable workspace using rootless Podman. Use a dedicated directory for Podman's SELinux relabel:

mkdir -p ~/markov-container-quickstart && cd ~/markov-container-quickstart
image=ghcr.io/vokramd/markov@sha256:2e826c5e727b7cd034c732b53ad8a8e2e82891f49a228f363ac806cb7bc18fb5
podman run --rm --userns=keep-id --user "$(id -u):$(id -g)" \
  -v "$PWD:/work:Z" -w /work --entrypoint /bin/sh "$image" -ec '
    cp /usr/share/markov/examples/quickstart.yaml .
    markov validate quickstart.yaml
    markov run quickstart.yaml --state-store /work/markov-state.db
  '
cat quickstart-report.md

Workflow data and the SQLite state file stay in the mounted directory after removal. To update, verify a new release's signed digest and select it explicitly. Retain the old digest for rollback; back up state before downgrading.

Updates & troubleshooting

All published versions are retained. Retention does not imply old versions receive fixes. Removal preserves files produced in your workspace. Repository removal is separate: delete the APT source, DNF/zypper repo file, APK repository line or pacman entry when no longer needed; remove only Markov's dedicated trust entry.

On signature or hash errors, stop and refresh metadata once. Report persistent failures; never disable verification. Check OS version, architecture, system time, CA certificates and full fingerprints. APT metadata has no Valid-Until initially; authenticity alone does not establish freshness.

If updates leave an older version active, run type -a markov and check for a manually installed binary shadowing the package. Review it before removal. Agent CLIs, Kubernetes credentials and private runtime data are never included.

Report an installation issue with the OS/version, architecture, package manager output and markov --version. Remove credentials and private workflow data first.