> 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-debaisu/miscellaneous-aikido-endpoint/aikido-doctor-cli.md).

# aikido-doctor CLI

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

## 使用法

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

```
aikido-doctor [global options] command [command options]
```

{% endtab %}

{% tab title="Windows" %}

```
aikido-doctor.exe [global options] command [command options]
```

{% endtab %}
{% endtabs %}

実行 `aikido-doctor help` （または `aikido-doctor <command> --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> フロー。詳細は <a href="/pages/7b2e2d1ffa3cf88ae688feff4ee73c0422fc34a8">問題の報告 / Device Protection サポート</a> Aikido に診断情報を送信するタイミングと方法については、</p> |
| `restart-daemon` | macOS、Windows | Aikido Device Protection デーモンを再起動します。                                                                                                                                                                                                      |
| `version`        | macOS、Windows | インストールされている Device Protection のバージョン、ビルド詳細、サービス状態を表示します。                                                                                                                                                                                   |
| `help`, `h`      | macOS、Windows | コマンド一覧または 1 つのコマンドのヘルプを表示します。                                                                                                                                                                                                              |

Aikido が作成する証明書バンドルに組織独自の CA を追加するには、 [カスタム CA 証明書の追加](/docs/docs-ja/aikido-debaisu/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-debaisu/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.
