Skip to content

Installation

Like any proxy software, Hysteria consists of a server and a client. Our precompiled executables includes both modes on all platforms. You can download our latest releases using one of the following options:

Executable files

Click on the filename to download. All files are the latest version.

Deployment script for Linux servers

We provide a bash script that automatically downloads the latest version of Hysteria and configures a systemd service on common Linux distributions.

Install or update to the latest version:

bash <(curl -fsSL https://get.hy2.sh/)

Install or update to a specific version (skips version check):

bash <(curl -fsSL https://get.hy2.sh/) --version v2.2.2

Remove Hysteria:

bash <(curl -fsSL https://get.hy2.sh/) --remove

Docker images

Docker Hub: https://hub.docker.com/r/tobyxdd/hysteria

Compose example

version: "3.9"
services:
  hysteria:
    image: tobyxdd/hysteria
    container_name: hysteria
    restart: always
    network_mode: "host"
    volumes:
      - acme:/acme
      - ./hysteria.yaml:/etc/hysteria.yaml
    command: ["server", "-c", "/etc/hysteria.yaml"]
volumes:
  acme: