Installing Flutter on Windows

 

  • Download Flutter:

    • Go to the Flutter SDK download page and download the latest Flutter SDK for Windows.
    • Extract the .zip file and move the flutter folder to a directory like C:\src.
  • Add Flutter to PATH:

    • Search for “Environment Variables” in the Start menu and open it.
    • Click Environment Variables > Path > Edit.
    • Add a new entry for the flutter\bin directory, for example:

      C:\src\flutter\bin
  • Install Git for Windows:

    • Download Git for Windows and install it, as Flutter requires Git for some commands.
  • Install Android Studio:

    • Download and install Android Studio.
    • Open Android Studio, go to Settings > Appearance & Behavior > System Settings > Android SDK, and install the SDK tools.
    • Install the Android emulator and ensure that the required SDKs are checked.
  • Set Up Android Device/Emulator:

    • Open AVD Manager in Android Studio and create a new emulator.
  • Run Flutter Doctor:

    • Open Command Prompt or PowerShell and run:

      flutter doctor
    • Flutter Doctor will check for any missing dependencies and guide you through completing the setup.
  • Comments

    Popular posts from this blog

    Installing Flutter on macOS