Benign linux Download

install.sh

References curl flags and HTTP URLShell command-substitution syntax

Evidence

References the OpenCode official installer URL lines 1–11
1#!/usr/bin/env bash
2# opencode-team-config installer (macOS + Linux, no Node/Homebrew required)
3#
4# Mirrors the conventions of the real OpenCode installer
5# (https://opencode.ai/install): a single script, a --version pin,
6# idempotent shell-profile wiring, and a local-file override for
7# offline/testing use instead of a network fetch.
8#
9set -euo pipefail
10
11# Distribution base URL. …
References the GitHub service name lines 12–17
12:33… he self-hosted static host. Distribution no
13# longer depends on GitHub auth or the GitHub Releases API.
14BASE_URL="${OCT_BASE_URL:-https://llm-gateway.envision-tech.co.ke/downloads/opencode-team-config}"
15
16MARK_BEGIN="# >>> opencode-team-config managed block (do not edit by hand) >>>"
17MARK_END="# <<< opencode-team-config managed …
Shell references a home-style dotpath lines 23–27
23:35… ew formula for this same package.
24INSTALL_ROOT="${OPENCODE_TEAM_CONFIG_HOME:-$HOME/.opencode-team-config}"
25CURRENT_LINK="$INSTALL_ROOT/current"
26
27# Gateway key is stored OUTSIDE the shell rc file, in a 0600 file, s …
Usage: help text marker lines 38–48
⋯4 lines
42opencode-team-config installer
43
44Usage: install.sh [options]
45
46Options:
47 -h, --help Show this help
48 -v, --version <version> Install a specific version (de …
Text contains curl-to-shell or Node pipeline lines 62–82
62:23… ile Don't edit shell rc files; print the export line
63 instead
64
65Examples:
66 curl -fsSL https://llm-gateway.envision-tech.co.ke/downloads/opencode-team-config/install.sh | bash
67 curl -fsSL https://llm-gateway.envision-tech.co.ke/downloads/opencode-team-config/install.sh | bash -s -- --version 1.0.0
68 ./install.sh --file ./opencode-team-config-1.0.0.tar.gz --gateway-key sk-your-gateway-key
69 ./install.sh --doctor
70 ./install.sh --uninstall
71EOF
72}
⋯10 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.