# 【2.インストール】

VSCode(Visual Studio Code)とPlatformIO IDEのインストール方法です。  
   
Visual Studio Code  
次のサイトからVisual Studio Codeをダウンロード  
[https://azure.microsoft.com/ja-jp/products/visual-studio-code/](https://azure.microsoft.com/ja-jp/products/visual-studio-code/)

アプリをダウンロード

[![image.png](https://book.a10-objects.jp/uploads/images/gallery/2026-04/scaled-1680-/bceimage.png)](https://book.a10-objects.jp/uploads/images/gallery/2026-04/bceimage.png)

開発環境はMacOSなのでMacを選択

[![image-1.png](https://book.a10-objects.jp/uploads/images/gallery/2026-04/scaled-1680-/Tpcimage-1.png)](https://book.a10-objects.jp/uploads/images/gallery/2026-04/Tpcimage-1.png)

圧縮されているので解凍しアプリケーションフォルダに入れます。

[![image-2.png](https://book.a10-objects.jp/uploads/images/gallery/2026-04/scaled-1680-/lmBimage-2.png)](https://book.a10-objects.jp/uploads/images/gallery/2026-04/lmBimage-2.png)

-&gt; 解凍

[![image-3.png](https://book.a10-objects.jp/uploads/images/gallery/2026-04/scaled-1680-/bCiimage-3.png)](https://book.a10-objects.jp/uploads/images/gallery/2026-04/bCiimage-3.png)

ちなみに記事を作成時のVersionは次の通りです。

 1.46.0  
 2020年06月03日作成

[![1592111588.png](https://book.a10-objects.jp/uploads/images/gallery/2026-04/scaled-1680-/1592111588.png)](https://book.a10-objects.jp/uploads/images/gallery/2026-04/1592111588.png)

アプリをアプリケーションフォルダに入れてダブルクリックし起動。

[![1592111636.png](https://book.a10-objects.jp/uploads/images/gallery/2026-04/scaled-1680-/1592111636.png)](https://book.a10-objects.jp/uploads/images/gallery/2026-04/1592111636.png)

起動時の画面

[![image-4.png](https://book.a10-objects.jp/uploads/images/gallery/2026-04/scaled-1680-/Huximage-4.png)](https://book.a10-objects.jp/uploads/images/gallery/2026-04/Huximage-4.png)

PlatformIO IDE  
次にArduinoの開発環境の為にPlatformIOをインスールします。  
VSCodeの拡張機能なので左の拡張機能から探してインストールします。

[![image-5.png](https://book.a10-objects.jp/uploads/images/gallery/2026-04/scaled-1680-/W5Limage-5.png)](https://book.a10-objects.jp/uploads/images/gallery/2026-04/W5Limage-5.png)

「PlatformIO」を検索し「Install」します。

[![image-6.png](https://book.a10-objects.jp/uploads/images/gallery/2026-04/scaled-1680-/970image-6.png)](https://book.a10-objects.jp/uploads/images/gallery/2026-04/970image-6.png)

インスールが完了するとPIO Home画面が表示されます。

PIO (<span style="color: rgb(224, 62, 45);">**P**</span>latform<span style="color: rgb(224, 62, 45);">**IO**</span>)

また、左のサイドバー? にPIO Homeアイコンが追加されます。

[![image-7.png](https://book.a10-objects.jp/uploads/images/gallery/2026-04/scaled-1680-/78Bimage-7.png)](https://book.a10-objects.jp/uploads/images/gallery/2026-04/78Bimage-7.png)

インストールが完了すると2つの拡張機能が表示されます。

「C/C++」と「PlatformIO」です。

PlatformIOはC/C++を必要する(依存関係)ので、自動的にインストールされます。

[![1592111844.png](https://book.a10-objects.jp/uploads/images/gallery/2026-04/scaled-1680-/1592111844.png)](https://book.a10-objects.jp/uploads/images/gallery/2026-04/1592111844.png)

<span style="color: rgb(224, 62, 45);">**【アプリを再起動します。】**</span>