How to uninstall AWS SAM CLI on Windows
Keep SAM templates, source code and deployment configuration. Removing the local AWS SAM CLI does not delete deployed AWS resources.
Quit the app
Close AWS SAM CLI and any work it is running, then use Task Manager (Ctrl+Shift+Esc) to check for its remaining processes.
Use its uninstaller
Open Settings › Apps › Installed apps, find AWS SAM CLI and choose Uninstall. Use the vendor uninstaller rather than deleting its program folder.
winget uninstall --id Amazon.SAM-CLI --exact
For this installation, winget invokes the registered removal method. It is not a separate cleanup of user data. Windows may ask for administrator approval.
Check the result
winget list --id Amazon.SAM-CLI --exact
Read winget's result as well as its exit status: an explicit no-installed-package result concerns only this package, while a source, access or query error leaves the answer unknown. The commands do not delete anything.
What Mole lists
The recorded review contained no extra rows. This does not prove that no data exists elsewhere.
The MSI completed, and Mole listed no additional rows because the installation did not provide a resolved program folder. No real AWS deployment or account data was part of the test.
What this test covered
Recorded on 2026-10-20: AWS SAM CLI, version 1.169.0, machine-wide, MSI, winget package Amazon.SAM-CLI. The evidence comes from an ARM64 Windows test environment and a development build of Mole. It does not certify the current downloadable package or removal of real signed-in accounts, synchronized data or production projects.
Vendor documentation. The paths and removal results above are observations from the Windows test unless explicitly attributed to the vendor.