[Experimental] Homebrew Cask for Flutter
brew tap socheatsok78/flutter brew cask install flutter
brew cask install socheatsok78/flutter/flutter
flutter run the following command:
brew cask uninstall flutter
To remove any files and folders
flutter has created run the following command.
This will also uninstall
flutter as well.
# Clean all files associated with Flutter SDK brew cask zap flutter
Switching Flutter Channel
To switch to a different channel run the following command:
flutter channel [stable|dev|beta|master] flutter upgrade
Make sure you have Homebrew for linux installed.
Check Homebrew Documentation on how to install Homebrew on Linux.
Other people implementation: