Install Flutter
Flutter is Google's UI toolkit for building natively compiled applications for mobile, web, and desktop from a single codebase.
IDE
I advice using Visual Studio Code for Flutter development with the Flutter extension.
macOS
For macOS silicon
Some Flutter components require the Rosetta 2 translation process on Macs running Apple silicon. To run all Flutter components on Apple silicon, install Rosetta 2.
sh
sudo softwareupdate --install-rosetta --agree-to-license
Android Studio
INFO
If you don't need to develop for Android, you can skip this step.
Install with Homebrew
sh
brew install --cask android-studio
Dart SDK
Install Dart SDK with Homebrew
sh
brew install dart-sdk
Flutter
Install Flutter with Homebrew
sh
brew install flutter
Doctor
Check if everything is installed correctly
sh
flutter doctor
Android licenses
To accept Android licenses, run
sh
flutter doctor --android-licenses