Flutter supports 64-bit version of Microsoft Windows 10 or later
These versions of Windows should include the required Windows PowerShell 5 or later
Install VSCode and Flutter extension
Install Visual Studio Community Edition: https://visualstudio.microsoft.com/vs/community/
Install IntelliJ IDEA Community Edition: https://www.jetbrains.com/idea/download/?section=windows
Git for Windows 2.27 or later to manage source code
Install Android Studio: https://developer.android.com/studio/install
Upgrade to latest version Android Studio
https://docs.flutter.dev/get-started/install/windows/desktop
To install the Flutter SDK on Windows, follow these steps:
Go to the Flutter official website: Flutter SDK Download
Download the latest stable version of the Flutter SDK
Extract the downloaded zip file to a desired location on your computer, for example, C:\src\flutter
Add the flutter\bin directory to your system's PATH environment variable
You can do this by following these steps:
Open the Start Search, type in "env", and select "Edit the system environment variables"
In the System Properties window, click on the Environment Variables button
In the Environment Variables window, under System variables, find the Path variable, select it, and click Edit
Click New and add the path to the flutter\bin directory, for example, C:\src\flutter\bin
Click OK to close all windows
Open a new command prompt or PowerShell window and run the following command to verify your Flutter installation:
flutter doctor
or
flutter doctor -v
This command will check your Flutter environment and display the installation status of dependencies and tools needed to develop Flutter apps
Follow any additional instructions provided by flutter doctor to complete the setup
To check the version of Flutter installed on your system, you can use the following command in your terminal or command prompt:
flutter --version
This command will display the Flutter version along with other details like the Dart version and the framework version
To upgrade your Flutter installation to the latest version, you can use the following command in your terminal or command prompt:
flutter upgrade
This command will fetch the latest stable release of Flutter and update your installation
Remove the flutter directory: C:\src\flutter
If you don't want to preserve your Flutter configuration, remove the following directories from your home directory:
%APPDATA%'.flutter-devtools
If you don't want to preserve your Dart configuration, remove the following directories from your home directory
%LOCALAPPDATA%'.dartServer
%APPDATA%'.dart
%APPDATA%'.dart-tool
If you want to remove Flutter but not Dart, don't complete this section
If you don't want to preserve your pub packages, remove the .pub-cache directory from your home directory
To remove Flutter commands from PowerShell, remove Flutter to the PATH environment variable
Run Android Studio and select More Actions/SDK Manager
Select the menu option Android SDK Command Line Tools
Select the menu option Android SDK Platform-Tools
We first install Flutter plugin
Then we install Dart plugin
We verify we already installed Flutter and Dart plugins for IntelliJ
We press the three dots button and then we select the option Virtual Device Manager
We press the Create Device button
We now have to chose a device definition and press the Next button
We select the API 34 tab and then we press the Next button
We press the Finish button for creating the mobile device simulator
We verify the similator was already created pressing the Launch this AVD in the emulator button
We can see the device is running
We can navigat with Google Chrome