Install flutter on MacOS
Posted on July 8, 2020 (Last modified on July 11, 2024) • 1 min read • 149 wordsI blog so I don’t forget … this:
First, the non-CLI actions:
flutter/
folder to $HOME/Dev/frameworks
(or any other location you favor)$HOME/Dev/flutter/bin
and $HOME/Dev/flutter/bin/.pub-cache/bin
to your pathThat’s about it for now. Then do some CLI magic:
brew tap dart-lang/dart
brew install dart android-studio android-sdk
sudo gem install cocoapods
pod setup
sudo xcode-select --switch /Applications/Xcode.app/Contents/Developer
sudo xcodebuild -runFirstLaunch
flutter doctor --android-licenses
After that some more UI stuff:
And finally: A final flutter doctor
will tell you if everything is all right.
The whole process will download about 10-12 GB of data.