[Experimental] Homebrew Cask for Flutter
brew tap socheatsok78/flutter
brew cask install flutter
or
brew cask install socheatsok78/flutter/flutter
To uninstall 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
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: