Benign linux Download

install.sh

AArch64 (ARM64) architecture stringReferences curl flags and HTTP URL

Evidence

References curl flags and HTTP URL lines 1–12
1#!/usr/bin/env bash
2#
3# pi_agent_rust installer
4#
5# One-liner install:
6# curl -fsSL "https://raw.githubusercontent.com/Dicklesworthstone/pi_agent_rust/main/install.sh?$(date +%s)" | bash
7#
8# Highlights:
9# - Installs latest (or requested) GitHub release binary for your platform
10# - Verifies release checksums and mandatory Minisign signatures with the pinned key
11# - Detects existing TypeScript pi and can migrate to Rust canonical `pi`
12# - Create …
Shell suppresses failure with || true lines 13–44
13:54… clean uninstall
14
15set -euo pipefail
16umask 022
17shopt -s lastpipe 2>/dev/null || true
18
19OWNER="${OWNER:-Dicklesworthstone}"
20REPO="${REPO:-pi_agent_rust}"
21VERSION="${VERSION:-}"
22
23DEST_DEFAULT="$HOME/.local/bin"
24DEST="$DEST_DEFAULT"
25DEST_EXPLICIT=0
⋯8 lines
34NO_VERIFY=0
35FORCE_INSTALL=0
36OFFLINE="${PI_INSTALLER_OFFLINE:-0}"
37OFFLINE_TARBALL="${PI_INSTALLER_OFFLINE_TARBALL:-}"
38AGENT_SKILLS_ENABLED="${AGENT_SKILLS_ENABLED:-1}"
39RETAIN_TEMP="${PI_INSTALLER_RETAIN_TEMP:-0}"
40
41CHECKSUM="${CHECKSUM:-}"
42CHECKSUM_URL="${CHECKSUM_URL:-}"
43ARTIFACT_URL="${ARTIFACT_URL:-}"
44SOURCE_DIR="${SOURCE_DIR:-} …
Temp or Tmp path segment lines 99–109
99:40… v"
100STATE_VERSION="1"
101
102TMP=""
103LOCK_DIR="${PI_INSTALLER_LOCK_DIR:-/tmp/pi-agent-rust-install.lock.d}"
104LOCKED=0
105MIGRATION_MOVED=0
⋯4 lines
Shell text redirects both output streams lines 110–125
110:21… ding"
111COMPLETIONS_STATUS="pending"
112
113HAS_GUM=0
114if command -v gum >/dev/null 2>&1 && [ -t 1 ]; then
115 HAS_GUM=1
116fi
117
118log() {
119 [ "$QUIET" -eq 1 ] && return 0
120 echo -e "$*" >&2
121}
⋯4 lines
Command emits terminal control sequences lines 125–135
125:46… 0 ]; then
126 gum style --foreground 39 "→ $*" >&2
127 else
128 echo -e "\033[0;34m→\033[0m $*" >&2
129 fi
130}
⋯5 lines

Keyboard shortcuts on this page: j for the next sample, k for the previous one, x to go back to the feed, d to download the original bytes, r to re-queue the sample for analysis.