Why set up the FLUTTER SDK on Windows 10?

Windows 10 remains the most common desktop OS among professional developers. Installing the FLUTTER SDK on this platform gives you access to a single codebase that can target Android, iOS, web, and desktop—all from the same machine.

System requirements

  • 64‑bit Windows 10 (version 1809 or later)
  • Git for Windows (required by Flutter tooling)
  • PowerShell 5.0+ or Command Prompt
  • At least 1.5 GB of free disk space for the SDK and a new project

Step 1 – Download the FLUTTER SDK

Open a browser and navigate to the official Flutter download page:

https://flutter.dev/docs/get-started/install/windows

Click the Windows download button to get the latest stable zip archive (e.g., flutter_windows_3.19.0‑stable.zip).

Step 2 – Extract and configure environment variables

1. Create a folder where you want to keep Flutter, for example C:\src\flutter. 2. Extract the zip file into that folder. 3. Add the flutter\bin directory to your system PATH so that the flutter command is available from any terminal.

Open PowerShell as Administrator and run:

JSON
[Environment]::SetEnvironmentVariable(
    "Path",
    [Environment]::GetEnvironmentVariable("Path", "Machine") + ";C:\src\flutter\bin",
    "Machine"
)

After updating the PATH, restart any open terminals.

Step 3 – Verify the installation

Open a new PowerShell or Command Prompt window and execute:

Code
flutter doctor

The tool checks for required dependencies and prints a report. A clean output looks like:

JSON
[✓] Flutter (Channel stable, 3.19.0, on Windows 10 22H2 10.0.19045)
[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
[✓] Chrome - develop for the web
[✓] Visual Studio - develop for Windows
[✓] Connected device (2 available)

If any item is marked with an X, follow the suggested remediation steps.

Step 4 – Install the Android toolchain (optional but recommended)

Flutter uses Android Studio’s SDK to build Android apps. You can install Android Studio or just the command‑line tools.

  • Download Android Studio from developer.android.com/studio.
  • During installation, ensure the Android SDK, Android SDK Platform‑Tools, and Android SDK Build‑Tools are selected.
  • After installation, run flutter doctor --android-licenses and accept all licenses.

Step 5 – Create your first Flutter app

With the SDK ready, you can generate a starter project:

Code
flutter create hello_flutter

Navigate into the project folder and launch the app on the default device (e.g., Chrome for web or an Android emulator):

Code
cd hello_flutter
flutter run

The default lib/main.dart contains a minimal, runnable Flutter application:

Dart / Flutter
import 'package:flutter/material.dart';

void main() {
  runApp(const MyApp());
}

class MyApp extends StatelessWidget {
  const MyApp({Key? key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Demo',
      theme: ThemeData(primarySwatch: Colors.blue),
      home: const Scaffold(
        appBar: AppBar(title: Text('Hello Flutter')),
        body: Center(child: Text('Welcome to Flutter on Windows 10!')),
      ),
    );
  }
}

When the app launches, you should see a blue app bar with the text “Hello Flutter” and a centered greeting.

Tips & common pitfalls

⚡ Tip: If flutter doctor cannot find Git, install Git for Windows and ensure C:\Program Files\Git\cmd is also on your PATH. Restart the terminal after any PATH change.
⚠️ Pitfall: Windows PowerShell’s execution policy may block scripts. Run Set-ExecutionPolicy -Scope CurrentUser -ExecutionPolicy RemoteSigned to allow Flutter’s internal scripts to execute.

Next steps

Now that the FLUTTER SDK is up and running on Windows 10, you can explore:

  • Adding VS Code extensions for Flutter and Dart.
  • Setting up a physical Android device for debugging.
  • Enabling web support with flutter config --enable-web.
  • Learning state‑management patterns (Provider, Riverpod, Bloc).

Happy coding!

Frequently Asked Questions

Do I need an administrator account to set up the FLUTTER SDK on Windows 10?

You need administrator rights only when you modify the system <code>PATH</code> variable. Installing Git, Android Studio, or the Android SDK can be done with a standard user account if you choose a user‑level installation.

Can I use PowerShell instead of Command Prompt for Flutter commands?

Yes. All Flutter CLI commands work in PowerShell, Command Prompt, and Windows Terminal. Just ensure the execution policy allows script execution (e.g., <code>Set-ExecutionPolicy -Scope CurrentUser -ExecutionPolicy RemoteSigned</code>).

What should I do if <code>flutter doctor</code> reports a missing Android SDK?

Install Android Studio or the standalone command‑line tools, then run <code>flutter doctor --android-licenses</code> to accept licenses. After that, re‑run <code>flutter doctor</code> to verify the SDK is detected.

Is it possible to develop iOS apps on Windows 10?

Direct iOS compilation requires macOS. However, you can write and test Flutter code on Windows, then use a CI service or a remote Mac to build the final iOS binary.