相关文章推荐
儒雅的打火机  ·  解决: ...·  1 年前    · 
帅气的松球  ·  node.js - ...·  1 年前    · 
Collectives™ on Stack Overflow

Find centralized, trusted content and collaborate around the technologies you use most.

Learn more about Collectives

Teams

Q&A for work

Connect and share knowledge within a single location that is structured and easy to search.

Learn more about Teams @Train it looks they is no articles, properly specifies what are the thinks to remove to completely uninstall flutter. Crazy Lazy Cat Jan 16, 2020 at 4:04 @Pedram-1 Please check which answer helped you understand and mark it as correct. It will help future users with the same issue. J. S. Nov 20, 2020 at 10:37

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.

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

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.

This command only deletes the Flutter CLI, not the Flutter SDK. firebase.google.com/docs/cli – noodl_es Nov 21, 2022 at 7:46

Thanks for contributing an answer to Stack Overflow!

  • Please be sure to answer the question. Provide details and share your research!

But avoid

  • Asking for help, clarification, or responding to other answers.
  • Making statements based on opinion; back them up with references or personal experience.

To learn more, see our tips on writing great answers.