Commit graph

2 commits

Author SHA1 Message Date
amir-climy
ffa10f9171 feat(get.sh): add --uninstall flag for one-liner uninstall
curl -fsSL .../get.sh | sudo bash -s -- --uninstall
  curl -fsSL .../get.sh | sudo bash -s -- --uninstall --purge-data

Detects --uninstall early, resolves INSTALL_DIR from platform, and
execs the on-disk uninstall.sh (passing --purge-data through).
Fails fast with a clear message if Triton is not installed.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-19 19:11:35 +08:00
amir-climy
6ff24df8d1 feat(installer): add one-liner bootstrap script for Manage Server
Adds get.sh — a curl-piped installer that:
- Detects Linux vs macOS
- Checks for Podman/Docker + compose runtime
- Installs Podman automatically (apt/dnf/yum/zypper/pacman on Linux, Homebrew on macOS)
- Falls back to pip3 for podman-compose when not in package manager
- Downloads installer files to /opt/triton-manage-server (Linux) or
  ~/.local/share/triton-manage-server (macOS)
- Delegates to install.sh with all forwarded flags

Usage:
  curl -fsSL https://raw.githubusercontent.com/primatekuntech/triton-install/main/get.sh | sudo bash

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-18 13:27:06 +08:00