Flutter MacOS Setup

Step-1: Download installation bundle to get the latest stable release of the Flutter SDK from this url: macOS install

Step-2: Extract the file in the desired location.

If you don't want to install a fixed version of the installation bundle, you can skip steps 1 and 2. Instead, get the source code from the Flutter repo on GitHub with the following command:

git clone https://github.com/flutter/flutter.git

Step-3: Add the flutter tool to your path:

export PATH="$PATH:pwd/flutter/bin"

Step-4: Install latest XCode, if reported by flutter doctor

Step-5: Install latest Android SDK, if reported by flutter doctor

Step-6: Install latest Android Studio, if reported by flutter doctor

Step-7: Start android emulator or connect device.

Step-8: Start iOS simulator or connect iPhone device.

Step-9: Install Flutter and Dart plugin for Android Studio.

  • 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