Script Library

Shortcut Scripts

Quick scripts grouped by purpose and operating system. Browse by category, copy a compact run command, or expand for details and direct download.

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

Important Safety Disclaimer

You are responsible for what you run as root/sudo.

Always download and inspect the script before running it with elevated privileges.

Recommended review flow:

  1. Download script directly.
  2. Open and review the code.
  3. Run only if you trust what it does.

Scripts Library

Each entry includes a compact run command and direct download link. Expand any script for full context before running.

Visible scripts: 0 / 16

Gemini + Copilot Combined Install

Sets up Node.js current from NodeSource, then installs both Gemini CLI and Copilot package globally via npm.

curl -fsSL https://aaran.cloud/assets/scripts/install-gemini-copilot-debian.sh | bash
Gemini CLI Install

Installs Node.js current and then installs Gemini CLI globally. Includes dependency bootstrapping.

curl -fsSL https://aaran.cloud/assets/scripts/install-gemini-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