Introduction
This article will discuss how to install flutter on windows easily. First of all, we need to install android studio because we will work on projects using android studio IDE but you have several options available in the market like (VScode, and Intellij).
Download and Install Android Studio
First, go to the official page of the android studio Download Android Studio
Select your Platform. For now, this page automatically selects the windows platform. If you have another OS (Mac, Linux) please select accordingly. Click Download Android Studio Buttonββββββ.
After the android studio installation was successfully completed, we need to download SDK and supporting tools. Please refer to the below steps.
Step 1
Open Installed Android Studio and click the menu icon on the right-side top of the application.
Step 2
You see a list of a menus inside and click SDK Manager.
Step 3
Select preferred SDK in SDK Platform to download and then click SDK Tools on second tab
Step 4
Select your preferred SDK tools but in flutter, we need a mandatory SDK Tool called Android SDK Command Line tools Latest.
Step 5
Please go to Step 1 Section then click Plugins in the left side menu.
Step 6
Click Marketplace and search Flutter Plugin and install, while installing the flutter Dart plugin install automatically. If prompted click ok.
Whoo!.... Android Studio installed successfully and ready for installation of Flutter SDK.
Install Flutter SDK on Windows
Step 1
Go to the official website of Flutter Download Flutter SDK. Click Windows
Step 2
Download the latest version of the flutter stable version.
Step 3
Extract Flutter SDK to C:\flutter. Once you extract it and open the flutter folder then you see a folder called bin. Open bin folder and copy current path.
Step 4
Click the Search icon in your Windows taskbar and environment variables you see search results called Edit the System Environment variables and then click enter.
Step 5
You see one popup called System Variables. At the bottom of the popup, you see one button called Environment Variables and click that button. In System Variables, you see an option called path. Select the path and then click the edit option at the bottom.
Step 6
Click the New button and add copied Flutter SDK Path save it and close.
Step 7
Whoo!.... We successfully installed Flutter in Windows. Let’s check flutter using flutter doctor. Open your command Prompt and enter flutter doctor (All lowercase)
Conclusion
In this session, we saw how to install flutter on windows. I hope this article will help you. In the next article, we create the first flutter application using android studio. Thank you