#!/bin/sh set -e # Sequel CLI installer — installs the latest @sequelsh/cli from npm. PKG="@sequelsh/cli@latest" if command -v npm >/dev/null 2>&1; then echo "Installing Sequel CLI ($PKG) with npm…" npm install -g "$PKG" elif command -v pnpm >/dev/null 2>&1; then echo "Installing Sequel CLI ($PKG) with pnpm…" pnpm add -g "$PKG" elif command -v bun >/dev/null 2>&1; then echo "Installing Sequel CLI ($PKG) with bun…" bun add -g "$PKG" elif command -v yarn >/dev/null 2>&1; then echo "Installing Sequel CLI ($PKG) with yarn…" yarn global add "$PKG" else echo "No supported package manager found." >&2 echo "Install Node.js (which includes npm) from https://nodejs.org, then re-run this installer." >&2 exit 1 fi echo "" echo "Installed the Sequel CLI." echo "Run 'sequel login' to get started."