> For the complete documentation index, see [llms.txt](https://help.aikido.dev/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.aikido.dev/docs/docs-ja/aikido-device-protection/miscellaneous-aikido-endpoint/aikido-doctor-cli.md).

# aikido-doctor CLI

`aikido-doctor` Aikido Device Protection に付属するコマンドライン用のヘルプツールです。何か問題が発生したときに、エージェントを調査、制御、トラブルシューティングするためのユーティリティを提供します。

## 使い方

{% tabs %}
{% tab title="macOS" %}

```
aikido-doctor [グローバルオプション] コマンド [コマンドオプション]
```

{% endtab %}

{% tab title="Windows" %}

```
aikido-doctor.exe [グローバルオプション] コマンド [コマンドオプション]
```

{% endtab %}
{% endtabs %}

実行 `aikido-doctor help` （または `aikido-doctor <コマンド> --help`）をいつでも使用して、利用可能なコマンドとオプションの一覧を表示できます。Windows では、代わりに `aikido-doctor.exe`.

## コマンド

すべてのコマンドが両方のプラットフォームで利用できるわけではありません。 **プラットフォーム** 列には、それぞれがどこで動作するかが表示されます。

| コマンド             | プラットフォーム      | 説明                                                                                                                                                                                                                                                           |
| ---------------- | ------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| `certs`          | macOS         | CA 証明書を管理します。                                                                                                                                                                                                                                                |
| `certconfig`     | macOS、Windows | ツールごとの証明書信頼設定（node、git、java など）を管理します。                                                                                                                                                                                                                       |
| `pause`          | macOS、Windows | 指定した期間、Aikido Device Protection を一時停止します。 **一時停止中は、デバイス上のすべての保護が完全に無効になります。**                                                                                                                                                                                |
| `unpause`        | macOS、Windows | 現在一時停止中であれば、Aikido Device Protection を再開します。                                                                                                                                                                                                                 |
| `sbom`           | macOS、Windows | ソフトウェア部品表（SBOM）の収集内容を確認します。                                                                                                                                                                                                                                  |
| `secretscanning` | macOS         | シェル履歴のシークレットスキャンを確認します。                                                                                                                                                                                                                                      |
| `diagnostics`    | macOS、Windows | <p>診断情報を収集して Aikido に送信します。<br><br>この <code>diagnostics</code> コマンドは、アプリ内の <strong>問題を報告</strong> フローのコマンドライン版です。Aikido に診断情報を送信するタイミングと方法については、 <a href="/pages/7b2e2d1ffa3cf88ae688feff4ee73c0422fc34a8">問題を報告 / Device Protection サポート</a> を参照してください。</p> |
| `restart-daemon` | macOS、Windows | Aikido Device Protection デーモンを再起動します。                                                                                                                                                                                                                        |
| `バージョン`          | macOS、Windows | インストール済みの Device Protection のバージョン、ビルドの詳細、サービス状態を表示します。                                                                                                                                                                                                      |
| `help`, `h`      | macOS、Windows | コマンド一覧、または 1 つのコマンドのヘルプを表示します。                                                                                                                                                                                                                               |

Aikido が作成する証明書バンドルに組織独自の CA を追加するには、 [カスタムCA証明書の追加](/docs/docs-ja/aikido-device-protection/miscellaneous-aikido-endpoint/custom-ca-certificates.md).

## グローバルオプション

| オプション             | 説明                                                   |
| ----------------- | ---------------------------------------------------- |
| `--simple`        | スクリプト向けに、インストール済みの Device Protection のバージョンのみを表示します。 |
| `--help`, `-h`    | ヘルプを表示します。                                           |
| `--version`, `-v` | バージョンを表示します。                                         |


---

# 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://help.aikido.dev/docs/docs-ja/aikido-device-protection/miscellaneous-aikido-endpoint/aikido-doctor-cli.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.
