Install Flutter

  • /

13th Dec, 2024

Installation in Windows: This section will show how to install Flutter SDK and its requirements in a Windows system.

Step 1 − Go to URL https://flutter.dev/docs/get-started/install/windows and download the latest Flutter SDK. The version is 3.24.5, and the file is flutter_windows_v3.24.5-stable.zip.

Step 2 − Unzip the zip archive in a folder, say C:\flutter\

Step 3 − Update the system path to include the flutter bin directory.

Step 4 − Flutter provides a tool, Flutter Doctor, to check that all the requirement of Flutter development is met.




Step 5 − Running the above command will analyze the system and show its report as shown below −




The report says all development tools are available, but the device is disconnected. We can fix this by connecting an Android device through USB or starting an Android emulator.

Step 6 − Install the latest Android SDK, if reported by flutter doctor

Step 7 − Install the latest Android Studio, if reported by flutter doctor

Step 8 − Start an Android emulator or connect a real Android device to the system.

Step 9 − Install Flutter and Dart plugins for Android Studio. It provides a startup template to create new Flutter applications, an option to run and debug Flutter applications in the Android studio itself, etc.,

  • Open Android Studio.

  • Click File → Settings → Plugins.

  • Select the Flutter plugin and click Install.

  • Click Yes when prompted to install the Dart plugin.

  • Restart Android Studio.


Installation in Mac: To install Flutter on MacOS, you will have to follow the following steps −

Step 1 − Go to URL https://flutter.dev/docs/get-started/install/macos and download the latest Flutter SDK. The version is 3.24.5, and the file is flutter_macos_v3.24.5- stable.zip.

Step 2 − Unzip the zip archive in a folder, say /path/to/flutter

Step 3 − Update the system path to include the flutter bin directory (in ~/.bashrc file).

Step 4 − Enable the updated path in the current session using the below command and then verify it.


Flutter provides a tool, Flutter Doctor, to check that all the requirements of Flutter development are met. It is similar to its Windows counterpart.

Step 5 − Install the latest XCode, if reported by the flutter doctor

Step 6 − Install latest Android SDK, if reported by flutter doctor

Step 7 − Install the latest Android Studio, if reported by flutter doctor

Step 8 − Start an Android emulator or connect a real Android device to the system to develop an Android application.

Step 9 − Open an iOS simulator or connect a real iPhone device to the system to develop an iOS application.

Step 10 − Install Flutter and Dart plugins for Android Studio. It provides the startup template to create a new Flutter application, the option to run and debug the Flutter application in the Android studio itself, etc.

  • Open Android Studio

  • Click Preferences → Plugins

  • Select the Flutter plugin and click Install

  • Click Yes when prompted to install the Dart plugin.

  • Restart Android Studio.

Categories
Latest Versions