flutter-environment-setup-windows — an installable skill for AI agents, published by flutter/skills.
Automated Windows Flutter development environment setup with platform-specific toolchain configuration.
Configures Flutter SDK paths, Visual Studio C++ toolchain installation, and platform-specific settings via interactive prompts for Windows Desktop, Android, or both targets
Handles Android Studio setup, device/emulator configuration, and USB driver installation when Android is selected
Generates self-signed MSIX certificates using OpenSSL for local Windows app packaging and deployment
Includes automated validation via flutter doctor with conditional fixes for missing SDK tools, Visual Studio workload issues, and PATH configuration problems
Goal
Configures a Windows development environment for building Flutter applications targeting Windows Desktop and Android. Analyzes system requirements, modifies environment variables, installs necessary C++ toolchains, manages platform-specific configurations, and generates self-signed certificates for local Windows application deployment. Assumes the host machine is running Windows 10 or 11 with administrative privileges available for system modifications.
Instructions
Configure Flutter SDK and Environment Variables
Extract the Flutter SDK to a secure, user-writable directory (e.g., C:\develop\flutter). Do not place it in C:\Program Files\.
Execute the following PowerShell command to append the Flutter bin directory to the user's PATH:
$flutterBinPath = "C:\develop\flutter\bin"
$currentUserPath = [Environment]::GetEnvironmentVariable("Path", [EnvironmentVariableTarget]::User)
if ($currentUserPath -notmatch [regex]::Escape($flutterBinPath)) {
[Environment]::SetEnvironmentVariable("Path", "$currentUserPath;$flutterBinPath", [EnvironmentVariableTarget]::User)
}don't have the plugin yet? install it then click "run inline in claude" again.