> 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/ai-totsru/ide-plugins-overview/installing-via-mdm.md).

# MDM 経由で IDE プラグインをインストールする

MDM（モバイルデバイス管理）ツールを使うと、ITチームは開発者のマシンにソフトウェアを大規模に事前インストールできます。このページでは、最も一般的なMDMプラットフォームを使用して、JetBrains IDEおよびVS CodeベースのエディタにAikidoプラグインを展開する方法を説明します。

## JetBrains IDE

**プラグインID:** `dev.aikido.aikido-intellij-plugin`

JetBrains IDEでは、 `installPlugins` というフラグをコマンドラインで使用できます。IDEは、このコマンドを実行する前に完全に終了している必要があります。構文はすべてのJetBrains製品で同じで、変更されるのは実行ファイル名のみです（例: `idea`, `webstorm`, `phpstorm`, `rider`）。完全な一覧は [JetBrainsのドキュメント](https://www.jetbrains.com/help/idea/install-plugins-from-the-command-line.html).

### macOS

下のスクリプトをJamfポリシースクリプトまたはKandjiカスタムスクリプトとして展開します。Replace `PhpStorm` を、チームが使用しているIDEに置き換えてください。

```bash
#!/bin/bash
PLUGIN_ID="dev.aikido.aikido-intellij-plugin"

osascript -e 'quit app "PhpStorm"'
sleep 5
open -na "PhpStorm.app" --args installPlugins "$PLUGIN_ID"
```

{% hint style="warning" %}
このスクリプトが動作するには、事前にそのマシンでIDEが少なくとも1回起動されている必要があります。
{% endhint %}

### Windows

PowerShellスクリプトとして展開するか、Win32アプリとしてパッケージ化してください。パスと実行ファイルは、マシンにインストールされているIDEのものに置き換えてください。

```powershell
& "C:\Program Files\JetBrains\IntelliJ IDEA\bin\idea64.exe" installPlugins dev.aikido.aikido-intellij-plugin
```

## VS Code、Cursor、Windsurf、その他の派生版

**拡張機能ID:** `AikidoSecurity.aikido`

すべてのVS Codeエディタは、コマンドラインからの拡張機能のインストールをサポートしています。チームがインストールしているエディタに応じたコマンドを使用してください。

### macOS

JamfポリシースクリプトまたはKandjiカスタムスクリプトとして展開します。

```bash
#!/bin/bash
code --install-extension AikidoSecurity.aikido      # VS Code
cursor --install-extension AikidoSecurity.aikido    # Cursor
windsurf --install-extension AikidoSecurity.aikido  # Windsurf
```

### Windows

PowerShellの修復スクリプトとして展開します。

```powershell
code --install-extension AikidoSecurity.aikido      # VS Code
cursor --install-extension AikidoSecurity.aikido    # Cursor
windsurf --install-extension AikidoSecurity.aikido  # Windsurf
```

IntuneでVS Code拡張機能を大規模に管理する方法については、 [VS Codeのエンタープライズ向けドキュメント](https://code.visualstudio.com/docs/enterprise/overview).


---

# 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/ai-totsru/ide-plugins-overview/installing-via-mdm.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.
