Uninstall Flutter
To remove the Flutter SDK from your development machine, delete the directories that store Flutter and its configuration files.
Choose your development platform
#The instructions on this page are configured to cover uninstall Flutter on a Windows device.
If you'd like to follow the instructions for a different OS, please select one of the following.
Uninstall the Flutter SDK
#Determine your Flutter SDK installation location
Copy the absolute path to the directory that you downloaded and extracted the Flutter SDK into.
Remove the installation directory
To uninstall the Flutter SDK, delete the
flutter
directory you installed Flutter to.For example, if you downloaded Flutter into a
develop\flutter
folder inside your user directory, run the following command to delete the SDK:Remove-Item -Recurse -Force -Path (Join-Path $env:USERPROFILE "develop\flutter")
Determine your Flutter SDK installation location
Copy the absolute path to the directory that you downloaded and extracted the Flutter SDK into.
Remove the installation directory
To uninstall the Flutter SDK, delete the
flutter
directory you installed Flutter to.For example, if you downloaded Flutter into a
develop/flutter
folder inside your user directory, run the following command to delete the SDK:rm -rf ~/develop/flutter
Clean up installation and configuration files
#Flutter and Dart add to additional directories in your home directory. These contain configuration files and package downloads. The following cleanup is optional.
Remove Flutter configuration directories
If you don't want to preserve your Flutter tooling configuration, remove the following directories from your device.
%APPDATA%\.flutter-devtools
To remove these directories, run the following command:
Remove-Item -Recurse -Force -Path (Join-Path $env:APPDATA ".flutter-devtools")
~/.flutter
~/.flutter-devtools
~/.flutter_settings
To remove these directories, run the following command:
rm -rf ~/.flutter ~/.flutter-devtools ~/.flutter_settings
Remove Dart configuration directories
If you don't want to preserve your Dart tooling configuration, remove the following directories from your device.
%APPDATA%\.dart
%APPDATA%\.dart-tool
%LOCALAPPDATA%\.dartServer
To remove these directories, run the following command:
Remove-Item -Recurse -Force -Path (Join-Path $env:APPDATA ".dart"), (Join-Path $env:APPDATA ".dart-tool"), (Join-Path $env:LOCALAPPDATA ".dartServer")
~/.dart
~/.dart-tool
~/.dartServer
To remove these directories, run the following command:
rm -rf ~/.dart ~/.dart-tool ~/.dartServer
Remove pub package directories
If you don't want to preserve your locally installed pub packages, remove the pub system cache directory from your device.
If you didn't change the location of the pub system cache, run the following command to delete the
%LOCALAPPDATA%\Pub\Cache
directory:Remove-Item -Recurse -Force -Path (Join-Path $env:LOCALAPPDATA "Pub\Cache")
If you didn't change the location of the pub system cache, run the following command to delete the
~/.pub-cache
directory:rm -rf ~/.pub-cache
Reinstall Flutter
#You can reinstall Flutter or just Dart at any time. If you removed any configuration directories, reinstalling Flutter restores them to default settings.
Unless stated otherwise, the documentation on this site reflects the latest stable version of Flutter. Page last updated on 2025-05-19. View source or report an issue.