---
title: "Get Install Script"
method: GET
path: "/api/install"
tags: ["Gateway"]
---

# Get Install Script

`GET /api/install`

Serve the Context-Gateway install script.

- No authentication required
- Rate limited to 60 requests/minute per IP
- Tracks download for analytics (version + geo only)
- Fetches install.sh from GitHub (cached for 5 minutes)

Usage:
    curl -fsSL https://compresr.ai/install | sh

## Query parameters

- `v` string, nullable — Gateway version (default: latest)
- `req` unknown, required

## Response `200`

Install script

- unknown

## Other responses

- `422` — Validation Error
- `500` — Internal Server Error

---

[API](https://skmtc.net/compresr/apis/compresr-platform-api.md) · [All operations](https://skmtc.net/compresr/apis/compresr-platform-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/compresr/compresr-platform-api/revisions/93ee959dfa51/schema)
