Install Flutter via Homebrew.
Way to install Flutter using Homebrew.Last updated: February 23, 2020
After the first release Flutter is being too obvious to avoid it, lots of people are talking about flutter, and the technology behind it is interesting enough to check out. I liked how it performs(a lot faster than other cross-platform competitors), documentation is also good, so I decided to give it a try. But I’m not fully satisfied with the installation procedure, You have to read a few paragraphs to just install but that could have been done through Homebrew / APT / Nuget or whatever(any other package manager) However unofficially it is possible to install Flutter through Homebrew on Mac. To do so follow next the next steps
-
Install Homebrew.
-
Run these on your terminal.
$ brew tap probablykasper/tap $ brew cask install flutter $ flutter upgrade $ flutter doctor //to check the installtion
-
Finally, flutter doctor to verify.
Post-Installation:
flutter-sdk path will be
/usr/local/opt/flutter
dart-sdk path will be
/usr/local/opt/flutter/bin/cache/dart-sdk
You still need to install Xcode and Android emulator, etc.
https://flutter.io/docs/get-started/install
And create your project pubspec, etc.