> 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プラットフォームを使用して、AikidoプラグインをJetBrains IDEおよびVS Codeベースのエディターに展開する方法を説明します。

## 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.
