Skip to main content

Installation Guide

CSGHub-Lite provides multiple installation methods and supports cross-platform operation.

Quick Installation

Linux / macOS

Use the following script for one-click installation:

curl -fsSL https://hub.opencsg.com/csghub-lite/install.sh | sh

Windows (PowerShell)

Run the following command in PowerShell:

irm https://hub.opencsg.com/csghub-lite/install.ps1 | iex

Build from Source

If you want to build CSGHub-Lite from the source code, please ensure you have the Go development environment installed:

git clone https://github.com/opencsgs/csghub-lite.git
cd csghub-lite
make build
# The compiled binary is located at bin/csghub-lite

GitHub Releases

You can also directly download the binary file suitable for your platform from the GitHub Releases page.

Notes

The installation script automatically detects and attempts to install llama-server (inference backend). If you are manually compiling or installing, please ensure you have installed it via brew install llama.cpp (macOS) or downloaded it from llama.cpp releases.