> 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/ja/insutru/using-the-toolkit/1.-download-the-toolkit.md).

# 1. 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 のリポジトリをクローンする

ツールキットをインストールするには、目的のインストール先パスに移動してから、次のコマンドを使って Overleaf Toolkit (@Ayaka-notes) の GitHub リポジトリをクローンする必要があります：

{% code title="リポジトリをクローン" overflow="wrap" %}

```bash
git clone https://github.com/ayaka-notes/toolkit.git ./overleaf-toolkit
# 公式ツールキット（非推奨）
# git clone https://github.com/overleaf/toolkit.git ./overleaf-toolkit
```

{% endcode %}

{% hint style="info" %}
潜在的な権限の問題を防ぐため、ツールキットをユーザーの `$HOME` ディレクトリにインストールすることを推奨します。
{% endhint %}
{% endstep %}

{% step %}

### ツールキットのディレクトリに移動する

クローン処理が完了するのを待ってから、新しく作成された `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/ja/insutru/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.
