Most people want the one-liner in the README. This page is the full reference: every file and directory the install creates, so you can remove things by hand or check that an automated uninstall got everything.
copilot_here --uninstall # binary, scripts, shell integration
copilot_here --uninstall --purge # the above + config dirs + pulled images
copilot_here --uninstall --yes # skip the confirmation promptOr, when the binary is broken or already gone, the self-contained remote script:
# Linux/macOS
bash <(curl -fsSL https://github.com/GordonBeeming/copilot_here/releases/download/cli-latest/uninstall.sh)# Windows
& ([scriptblock]::Create((iwr -UseBasicParsing 'https://github.com/GordonBeeming/copilot_here/releases/download/cli-latest/uninstall.ps1').Content))Both take --purge / -Purge and --yes / -Yes.
| What | Path |
|---|---|
| Native binary | ~/.local/bin/copilot_here |
| Sourced shell script | ~/.copilot_here.sh |
| Bash/Zsh integration | a marker block in ~/.bashrc, ~/.bash_profile, ~/.profile, ~/.zshrc, ~/.zprofile (whichever exist) |
| Fish integration | ~/.config/fish/conf.d/copilot_here.fish |
Config (kept unless --purge) |
~/.config/copilot_here, ~/.config/copilot-cli-docker |
Per-project config (kept unless --purge) |
.copilot_here/ inside each repo you ran it in |
Docker images/containers (kept unless --purge) |
containers named copilot_here-*, images under ghcr.io/gordonbeeming/copilot_here |
| What | Path |
|---|---|
| Native binary | %USERPROFILE%\.local\bin\copilot_here.exe |
| Sourced script | %USERPROFILE%\.copilot_here.ps1 |
| PowerShell integration | a marker block in Documents\PowerShell\Microsoft.PowerShell_profile.ps1 and Documents\WindowsPowerShell\Microsoft.PowerShell_profile.ps1 |
| cmd wrappers | %USERPROFILE%\.local\bin\copilot_here.cmd, copilot_yolo.cmd |
| User PATH entry | %USERPROFILE%\.local\bin added to your user PATH |
Config (kept unless --purge) |
%USERPROFILE%\.config\copilot_here, %USERPROFILE%\.config\copilot-cli-docker |
If you'd rather do it yourself, or want to confirm nothing was left behind:
- Stop running containers so the binary isn't in use:
docker ps --filter "name=copilot_here-" -q | xargs -r docker stop
- Remove the shell integration block from each profile listed above. It's fenced by these markers — delete everything from the start marker to the end marker, inclusive:
# >>> copilot_here >>> ... # <<< copilot_here <<<
- Delete the script, binary, and wrappers:
On Windows, also remove
rm -f ~/.copilot_here.sh ~/.local/bin/copilot_here rm -f ~/.config/fish/conf.d/copilot_here.fish
~/.copilot_here.ps1and the two.cmdwrappers in~/.local/bin. - (Optional) Remove config and images:
rm -rf ~/.config/copilot_here ~/.config/copilot-cli-docker docker images "ghcr.io/gordonbeeming/copilot_here*" -q | xargs -r docker rmi -f
- Restart your shell (or open a new terminal). The
copilot_herefunction stays loaded in your current session until then.
The methods above are for the script/binary install. If you used a package manager, uninstall through it instead:
brew uninstall --cask copilot-here # Homebrew (macOS)
brew uninstall copilot_here # Homebrew (Linux)
winget uninstall GordonBeeming.CopilotHere # WinGet (Windows)
dotnet tool uninstall -g copilot_here # .NET global tool