Script Library

Shortcut Scripts

Quick scripts grouped by purpose and OS. Use filters, open a script, then review before running.

Category: AI + DevOps + System Ops OS: Debian / Ubuntu

Important Safety Disclaimer

Review scripts before running with root or sudo.

Recommended flow:

  1. Download the script.
  2. Inspect the code.
  3. Run only if trusted.

Installer behavior notes:

  1. Each installer updates existing binaries when present.
  2. Combined script runs AGY, Ollama, then OpenCode in one go.
  3. Binary checks are non-interactive and do not launch UIs.

Scripts Library

Each item includes a run command and direct download link. Expand entries only when you need full context.

Visible scripts: 0 / 19

AGY + Ollama + OpenCode Combined

Runs install/update for AGY (agy), Ollama, and OpenCode in one pass.

curl -fsSL https://aaran.cloud/assets/scripts/install-agy-ollama-opencode-debian.sh | bash
AGY CLI Install

Installs or updates Antigravity CLI (agy) and ensures local PATH integration.

curl -fsSL https://aaran.cloud/assets/scripts/install-agy-cli-debian.sh | bash
Ollama Install

Runs the official Ollama installer and updates an existing install when detected.

curl -fsSL https://aaran.cloud/assets/scripts/install-ollama-debian.sh | bash
OpenCode CLI Install

Ensures Node.js current, then installs or updates OpenCode via npm.

curl -fsSL https://aaran.cloud/assets/scripts/install-opencode-cli-debian.sh | bash
Kimi CLI Install

Installs uv and Python tooling, then installs Kimi CLI (Moonshot AI) via uv tool.

curl -fsSL https://aaran.cloud/assets/scripts/install-kimi-cli-debian.sh | bash
Copilot Package Install

Installs Node.js current and then installs the Copilot npm package globally for CLI workflows.

curl -fsSL https://aaran.cloud/assets/scripts/install-copilot-cli-debian.sh | bash
Claude Code Install

Installs Node.js current and Anthropic Claude Code CLI globally with required system packages.

curl -fsSL https://aaran.cloud/assets/scripts/install-claude-code-debian.sh | bash
Aider CLI Install

Installs Python tooling and pipx, then installs or upgrades Aider CLI in an isolated environment.

curl -fsSL https://aaran.cloud/assets/scripts/install-aider-cli-debian.sh | bash
OpenAI CLI Install

Installs Python and pipx dependencies, then installs or upgrades the OpenAI CLI package.

curl -fsSL https://aaran.cloud/assets/scripts/install-openai-cli-debian.sh | bash
Node.js Current Install

Adds NodeSource current repository and installs the latest current Node.js + npm runtime.

curl -fsSL https://aaran.cloud/assets/scripts/install-nodejs-current-debian.sh | bash
GitHub CLI Install

Adds the official GitHub CLI apt repository and installs `gh` for repository and PR workflows.

curl -fsSL https://aaran.cloud/assets/scripts/install-gh-cli-debian.sh | bash
Docker Engine Install

Installs Docker Engine, Buildx, Compose plugin, and enables Docker service at boot.

curl -fsSL https://aaran.cloud/assets/scripts/install-docker-engine-debian.sh | bash
kubectl Install

Adds the official Kubernetes apt repo and installs kubectl client tooling.

curl -fsSL https://aaran.cloud/assets/scripts/install-kubectl-debian.sh | bash
Terraform Install

Adds HashiCorp apt repository and installs Terraform for infrastructure-as-code workflows.

curl -fsSL https://aaran.cloud/assets/scripts/install-terraform-debian.sh | bash
Official Speedtest CLI Install (Ookla)

Installs the official Ookla Speedtest CLI from upstream repository (not the legacy apt speedtest-cli package).

curl -fsSL https://aaran.cloud/assets/scripts/install-speedtest-cli-debian.sh | bash
Fastest Mirror Optimizer + Optional Daily Cron

Uses netselect-apt on Debian for broad mirror testing (with fallback checks), applies best mirror, runs apt update, and can install a daily auto-refresh cron.

curl -fsSL https://aaran.cloud/assets/scripts/optimize-debian-ubuntu-mirrors.sh | bash
VMware Debian/Ubuntu Guest Optimizer

Validates Debian/Ubuntu + VMware guest environment, installs open-vm-tools, applies conservative sysctl tuning, configures fsck auto-repair policy, and enables open-vm-tools plus fstrim timer.

curl -fsSL https://aaran.cloud/assets/scripts/optimize-vmware-debian-guest.sh | bash
Fail2ban + UFW Setup

Installs and configures Fail2ban and UFW with sensible defaults: deny incoming, allow SSH/HTTP/HTTPS, and SSH brute-force protection.

curl -fsSL https://aaran.cloud/assets/scripts/install-fail2ban-ufw.sh | bash
Nginx Security Headers Generator

Generates a production-ready Nginx security headers snippet (CSP, HSTS, XFO, XCTO, Referrer-Policy) and optionally installs it to /etc/nginx/snippets/.

curl -fsSL https://aaran.cloud/assets/scripts/nginx-security-headers.sh | bash