#!/bin/bash
set -e

command -v pi >/dev/null 2>&1 && exit 0

curl -fsSL 'https://pi.dev/install.sh' | sh
