Installation

Requirements

  • Linux (x86_64 or arm64) or macOS (Apple Silicon / arm64 only). Intel Macs (x86_64) are no longer supported. On Windows, consider using Ubuntu for WSL. BusyBox is not supported.

  • POSIX-compliant login shell (bash, zsh, dash, ksh93), fish, elvish, nushell, or powershell. csh and tcsh have minimal support (PATH and environment variables only).

  • Python 3.14, which will be bootstrap installed into ~/.local/share/koopa-bootstrap automatically when necessary.

  • Core utilities: curl, git, grep, mkdir, mktemp, rm, sed, tar.

macOS

Xcode Command Line Tools are required.

xcode-select --install

The command line tools will install into /Library/Developer/CommandLineTools.

Debian / Ubuntu

if [ "$(id -u)" -eq 0 ]
then
    apt-get update
    apt-get --quiet --yes install sudo
fi
sudo apt-get update
sudo apt-get \
    --no-install-recommends \
    --quiet \
    --yes \
    install \
        bash \
        build-essential \
        ca-certificates \
        coreutils \
        curl \
        findutils \
        git \
        locales \
        lsb-release \
        procps \
        python3 \
        unzip

Fedora / RHEL

if [ "$(id -u)" -eq 0 ]
then
    dnf -y install sudo
fi
sudo dnf -y install \
    automake \
    bash \
    coreutils \
    curl \
    findutils \
    gcc \
    git \
    make \
    procps \
    python3 \
    unzip

Install koopa

Default: Git-managed installation

The install script will prompt to determine whether you want a shared install for all users, or for the current local user only. It will also ask about dotfile configuration and whether your shell profile configuration file should be modified.

sh -c "$(curl -LSs https://koopa.acidgenomics.com/install)"

Alternatively, download the install script as a temporary file and then execute.

install="$(mktemp)"
curl -LSs -o "$install" https://koopa.acidgenomics.com/install
chmod +x "$install"
"$install"

Here’s how to install koopa non-interactively, which is intended primarily for building Docker images.

curl -LSs https://koopa.acidgenomics.com/install \
    | sh -s -- --non-interactive

Experimental fallback: stable release without GitHub

When GitHub is inaccessible, or a stable archive is preferred, install the latest release directly from koopa.acidgenomics.com:

curl -fsSL https://koopa.acidgenomics.com/install-release | sh

To select a specific published release initially, replace vX.Y.Z with its tag:

curl -fsSL https://koopa.acidgenomics.com/install-release | sh -s -- --version vX.Y.Z

The installer verifies the archive against the published SHA-256 checksum and builds bootstrap Python from source. koopa update koopa then updates the installation to the latest stable release from the same domain. It preserves installed apps and refuses to overwrite locally modified release files or unmanaged files. An existing Git-managed installation continues to update through Git as before.

The release archive and bootstrap sources do not require GitHub, but individual apps and Python extras may need other network access or a configured mirror. The checksum detects corruption; it is not an independent signature.

For each new stable release, after its tag is merged into main, run koopa develop publish-release vX.Y.Z from the release checkout. This publishes immutable versioned archives and advances the stable channel. Before publishing, ensure the bootstrap source versions in that tag are mirrored under /src/ on the domain.