> For the complete documentation index, see [llms.txt](https://ayakaleaf-pro.ayaka.space/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://ayakaleaf-pro.ayaka.space/on-premises/zh-tw/an-zhuang/using-the-toolkit/1.-download-the-toolkit.md).

# 1. 下載 Toolkit

### 下載 Toolkit <a href="#downloading-the-versions-toolkit-short" id="downloading-the-versions-toolkit-short"></a>

Toolkit 與 Server CE 和 Overleaf Pro 都相容，且是建議的安裝方式。使用 Toolkit 可以讓您輕鬆開始使用 Server CE，並在需要時無縫升級到 Overleaf Pro。

{% hint style="info" %}
[ayaka-notes/toolkit](https://github.com/ayaka-notes/toolkit) 已修改為直接使用來自 ghcr 的 overleaf-pro 映像。此外也包含由 ayaka-notes 提供的 texlive。不過您可以下載官方的 overleaf-toolkit。
{% endhint %}

{% stepper %}
{% step %}

### 複製 Overleaf Toolkit 儲存庫

要安裝 toolkit，您需要前往預定的安裝路徑，然後使用此命令複製 Overleaf Toolkit（@Ayaka-notes）GitHub 儲存庫：

{% code title="複製儲存庫" overflow="wrap" %}

```bash
git clone https://github.com/ayaka-notes/toolkit.git ./overleaf-toolkit
# 官方 toolkit（不建議）
# git clone https://github.com/overleaf/toolkit.git ./overleaf-toolkit
```

{% endcode %}

{% hint style="info" %}
為了避免任何潛在的權限問題，我們建議將 Toolkit 安裝在使用者的 `$HOME` 目錄中。
{% endhint %}
{% endstep %}

{% step %}

### 切換到 toolkit 目錄

等待複製過程完成，然後讓我們切換到新建立的 `overleaf-toolkit` 目錄：

{% code title="切換目錄" %}

```bash
cd ./overleaf-toolkit
```

{% endcode %}
{% endstep %}
{% endstepper %}


---

# 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, and the optional `goal` query parameter:

```
GET https://ayakaleaf-pro.ayaka.space/on-premises/zh-tw/an-zhuang/using-the-toolkit/1.-download-the-toolkit.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
