add one-line remote installer

This commit is contained in:
Kristian Vastveit 2026-04-13 12:12:32 +02:00
parent a1920e2d4b
commit 9ed27fe1d6
2 changed files with 19 additions and 0 deletions

View File

@ -15,6 +15,11 @@ On 2026-04-04, Anthropic added server-side validation that rejects OAuth request
## Install
```bash
curl -fsSL https://raw.githubusercontent.com/kristianvastveit/hermes-claude-auth/main/install-remote.sh | bash
```
Or clone manually:
```bash
git clone https://github.com/kristianvastveit/hermes-claude-auth.git
cd hermes-claude-auth
./install.sh

14
install-remote.sh Executable file
View File

@ -0,0 +1,14 @@
#!/usr/bin/env bash
set -euo pipefail
# One-line installer for hermes-claude-auth.
# Usage: curl -fsSL https://raw.githubusercontent.com/kristianvastveit/hermes-claude-auth/main/install-remote.sh | bash
REPO="https://github.com/kristianvastveit/hermes-claude-auth.git"
TMPDIR="$(mktemp -d)"
cleanup() { rm -rf "$TMPDIR"; }
trap cleanup EXIT
git clone --depth 1 "$REPO" "$TMPDIR" 2>/dev/null
bash "$TMPDIR/install.sh"