From 1759c5dd247f5f812fafe93d7f81f664552368ed Mon Sep 17 00:00:00 2001 From: Steve Beaulac Date: Sun, 28 Jun 2026 23:52:45 -0400 Subject: [PATCH] feat(installer): add script to install pi coding agent Adds a shell script that installs the @earendil-works/pi-coding-agent and pi-acp npm packages globally if the `pi` command is not found. Uses paru to install Node.js and npm on Arch-based systems when needed. --- installer/pi-agent.sh | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100755 installer/pi-agent.sh diff --git a/installer/pi-agent.sh b/installer/pi-agent.sh new file mode 100755 index 0000000..529bdde --- /dev/null +++ b/installer/pi-agent.sh @@ -0,0 +1,9 @@ +#!/bin/sh -e + +if [[ ! -x "$(command -v pi)" ]]; then + node -v || paru -Sy --noconfirm nodejs npm + npm install -g --ignore-scripts @earendil-works/pi-coding-agent + npm install -g pi-acp +fi + +