Skip to content

Instantly share code, notes, and snippets.

@aliou
Created February 1, 2026 14:58
Show Gist options
  • Select an option

  • Save aliou/a270869d43a5eca1362e8dcca36a9991 to your computer and use it in GitHub Desktop.

Select an option

Save aliou/a270869d43a5eca1362e8dcca36a9991 to your computer and use it in GitHub Desktop.
Pi Alpine ARM64 MUSL repro

Pi Alpine ARM64 MUSL Repro

Reproduction case for missing @mariozechner/clipboard-linux-arm64-musl binary.

Issue

Pi fails to start on Alpine Linux arm64 with:

Error: Cannot find module '@mariozechner/clipboard-linux-arm64-musl'

Reproduce

docker build --platform linux/arm64 -t test-pi-alpine .
docker run --platform linux/arm64 test-pi-alpine

Expected

Pi should show help output

Actual

Error: Cannot find module '@mariozechner/clipboard-linux-arm64-musl'

Environment

  • Platform: arm64 (Apple Silicon)
  • Base image: node:22-alpine (musl libc)
  • Package: @mariozechner/pi-coding-agent v0.50.9
  • Node: v22.22.0

Related

FROM node:22-alpine
# Install pi-coding-agent
RUN npm install -g @mariozechner/pi-coding-agent
# Try to run it
CMD ["pi", "--help"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment