[
    {
        "role": "user",
        "content": "where%20dois%20microsoft%20ai%20shell%20installed%20location%20for%20the%20executable%20and%20for%20the%20powershell%20modules.%20i%27d%20like%20to%20remove%20it%20after%20previously%20running%20install.ps1"
    },
    {
        "role": "assistant",
        "content": "Here\u2019s where **Microsoft AI Shell (AIShell / aish)** installs things on Windows when you run the official `installaishell.ps1` (or `install.ps1`) script \u2014 and what you should remove if you want to fully uninstall it.\n\n---\n\n## \ud83e\udded Locations where AIShell is installed\n\nFrom Microsoft\u2019s documentation:\n\n- **Executable (`aish.exe`)**  \n  On Windows, it is installed to:  \n  ```\n  $env:LOCALAPPDATA\\Programs\\AIShell\n  ```  \n  ([learn.microsoft.com](https://learn.microsoft.com/en-us/powershell/utility-modules/aishell/install-aishell?view=ps-modules&utm_source=openai))\n\n- **PowerShell module (\u201cAIShell\u201d module)**  \n  This is installed into one of the standard PowerShell module path locations (depends on scope & PS version). ([learn.microsoft.com](https://learn.microsoft.com/en-us/powershell/utility-modules/aishell/install-aishell?view=ps-modules&utm_source=openai))\n\n---\n\n## \u2705 How to find the module path\n\nYou can confirm exactly where the module is by running in PowerShell:\n\n```powershell\nGet-InstalledModule -Name AIShell | Select-Object Name, Version, InstalledLocation\n```\n\nOr find all instances via:\n\n```powershell\nGet-Module -ListAvailable AIShell | Select-Object Name, Path\n```\n\nAlso, `$env:PSModulePath` will show all the module search paths \u2014 the \u201cInstalledLocation\u201d should appear in one of those. ([powershellgallery.com](https://www.powershellgallery.com/packages/AIShell/1.0.1-preview1?utm_source=openai))\n\n---\n\n## \ud83e\uddf9 Removing AI Shell\n\nTo remove everything installed by the installer, do the following:\n\n1. **Delete the executable folder**  \n   Remove the directory:\n   ```\n   %LOCALAPPDATA%\\Programs\\AIShell\n   ```\n   This deletes `aish.exe` and related files.  \n   ([learn.microsoft.com](https://learn.microsoft.com/en-us/powershell/utility-modules/aishell/install-aishell?view=ps-modules&utm_source=openai))\n\n2. **Remove the PowerShell module files**  \n   Delete the \u201cAIShell\u201d module folder(s) from wherever they were installed. Common places:\n\n   - For *CurrentUser* scope & PowerShell 7+:\n     ```\n     C:\\Users\\<YourUser>\\Documents\\PowerShell\\Modules\\AIShell\n     ```\n\n   - For *AllUsers* scope:\n     ```\n     C:\\Program Files\\PowerShell\\Modules\\AIShell\n     ```\n     or\n     ```\n     C:\\Program Files\\WindowsPowerShell\\Modules\\AIShell\n     ```\n   Use `Get-InstalledModule` or `Get-Module -ListAvailable` to find its exact path. ([powershellgallery.com](https://www.powershellgallery.com/packages/AIShell/1.0.1-preview1?utm_source=openai))\n\n3. **Remove config / user data** *(optional but helpful)*  \n   AIShell stores configuration and logs in the user profile, typically in:\n   ```\n   %USERPROFILE%\\.aish\n   ```\n   or similar hidden folder. If you want a full cleanup, delete that as well. (If it doesn\u2019t exist, you can skip.) ([powershell.co.at](https://www.powershell.co.at/aishell-preview-1-on-macos-first-steps-to-life/?utm_source=openai))\n\n4. **Update your PATH if needed**  \n   If the installer added `AIShell` to your PATH environment variable (using `%LOCALAPPDATA%\\Programs\\AIShell`), you\u2019ll want to remove that entry manually. Open **System Properties \u2192 Environment Variables**, edit your user PATH, and remove the AIShell folder if present.\n\n5. **Unload module / restart PowerShell session**  \n   After deletion, restart PowerShell so it no longer has the module loaded. If it is loaded in memory, you won\u2019t be able to delete module files. Use:\n\n   ```powershell\n   Remove-Module AIShell\n   ```\n\n   Then verify by `Get-Module AIShell` shows no results.\n\n---\n\nIf you want, I can give you a PowerShell script to automate the uninstall. Do you want that?"
    }
]