Flutter Setup on Windows

Flutter Setup on Windows

To begin the development, we need to set up the tools and SDKs. here are the minimum system requirements of the Windows Operating System to set up the Flutter SDK and tools.

System requirements.

you need to meet the minimum requirements to install and run the flutter.

  • Operating systems - Windows 10 or later (64-bit), x86-64 based.

  • Disk Space - 2.5 GB (excluding the disk space for IDE/tools)

  • Tools - Flutter depends on these tools being available in your environment.

Install Flutter SDK

If you meet the system requirement you can install the Flutter SDK. Here are the steps that you need to follow.

  1. Download the latest stable release of the Flutter SDK.

    flutter_windows_3.13.9-stable.zip

  2. Then Extract the zip file and place the contained flutter in the desired installation location for Flutter SDK.

    eg - C:\dilshan\flutter

Note -

  • Do not install Flutter to a path that contains special characters or spaces.

  • Do not install Flutter in a directory like C:\Program Files\ that requires elevated privileges.

All the steps are done correctly, you're ready to run Flutter commands in the Flutter Console.

Update Path

If you are planning to use flutter commands in the regular Windows console, you need to update the Flutter PATH environment variable. Here are the steps that you need to follow.

  1. Start the search bar enter env and select the Edit environment variables for your account.

  2. Under User variables check if there is any entry called Path:

    • If the entry exists, append the full path to flutter\path using ; as a separator from existing values.

    • If the entry doesn't exist, create a new user variable named Path with the full path to flutter\bin as its value.

Everything is set, close and relaunch the Windows console for these changes to take effect.

Check the Flutter environment status

Flutter introduces the dedicated command to see if there are any platform dependencies you need to complete the setup.

C:\src\flutter> flutter doctor

This Flutter command checks your environment and displays a report of the status of your Flutter environment and installation. The below figure shows the other software you might need to install or further tasks to perform.

Once you have installed any missing dependencies, you can run the flutter doctor command again to verify that you’ve set everything up correctly.

Next - Setting up your Flutter Development Environment of MacOS

Happy Coding ❤