> For the complete documentation index, see [llms.txt](https://aiastia.gitbook.io/xrayr/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://aiastia.gitbook.io/xrayr/xrayr-xia-zai-he-an-zhuang/install/manual.md).

# 手动安装

## 下载并使用

1. 在此处，根据自身系统选择合适的版本：[Release](https://github.com/XrayR-project/XrayR/releases)
2. 解压压缩包，之后运行：`./XrayR -config config.yml`

## 编译并使用

1. go 1.17.2
2. 依次运行

   ```bash
   git clone https://github.com/XrayR-project/XrayR
   cd XrayR/main
   go mod tidy
   go build -o XrayR -ldflags "-s -w"
   ./XrayR -config config.yml
   ```

配置文件详见：[配置文件说明](/xrayr/xrayr-pei-zhi-wen-jian-shuo-ming/config.md)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://aiastia.gitbook.io/xrayr/xrayr-xia-zai-he-an-zhuang/install/manual.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
