Reputation: 889
I need to uninstall Flutter completely from my Mac. However, I cannot find any documentation that can help me with that.
Upvotes: 75
Views: 141870
Reputation: 19
If you have HomeBrew installed on your Mac OS, just execute below command in your terminal
brew remove flutter
This command will uninstall Flutter completely and properly from your Mac
Upvotes: 0
Reputation: 51
For those who installed flutter with brew, it’s best practice to also uninstall with brew.
brew uninstall flutter
Upvotes: 3
Reputation: 83
To uninstall flutter from Mac OS M1, here are the steps you can take:
which flutter
rm -rf flutter
which flutter
, you will get this message flutter not found
Upvotes: 3
Reputation: 373
To uninstall flutter from a Mac using the command line :
1.Open Terminal.
2.In Terminal, type the following command to list all the installed applications:
ls /Applications
cd ~/flutter
3.To uninstall the flutter application, use the command:
sudo ./flutter/uninstall
sudo rm -rf /Applications/Flutter.app
Upvotes: 1
Reputation: 9734
To find your flutter sdk installed path. use which flutter
command and then delete the Flutter SDK folder.
Note: This command only works if you set the path correctly.
Upvotes: 23
Reputation: 381
just rm -rf
the sdk folder, or if you just want to clean a corrupt
run the following commands in the Flutter install directory:
git clean -xfd
git stash save --keep-index
git stash drop
git pull
flutter doctor
Upvotes: 26
Reputation: 9625
Flutter is an SDK that you download and unpack onto a directory in your Mac. There is no automatic uninstall process in the same way that there is no automatic install process. You "installed" it by downloading a zip file and unzipping it. All you have to do is remove the contents of the directory where you unzipped it in.
Even the path addition to be able to call the flutter command from anywhere in your system has to be done manually. If you did that, then you can remove it as well from your shell's PATH.
Upvotes: 43