Uninstall
Remove one project that installer.dev installed, or all of them.
Every install command has an uninstall counterpart: put uninstall. in front of the domain.
On Linux and macOS:
curl -fsSL https://uninstall.installer.dev/OWNER/REPO/linux | shOn Windows, in PowerShell:
irm https://uninstall.installer.dev/OWNER/REPO/windows | iexThe path form serves the same script from the main domain, with /uninstall after the platform:
curl -fsSL https://installer.dev/OWNER/REPO/linux/uninstall | shWhat gets removed
- The install directory, for example
~/.local/share/instl/installer/demo, with the receipt in it. - The command links in
~/.local/binthat point into that directory. Links that point elsewhere stay. - On Windows, the install folder’s entry in the user PATH.
On Linux and macOS the lines marked # added by installer.dev stay in your shell files, because other installs use the same ~/.local/bin. Remove everything deletes them together with every install. Install locations lists the files.
Remove everything
Leave the repository out of the URL, and the script removes everything that installer.dev installed for your user. It lists what it found and asks before it deletes anything.
On Linux and macOS:
curl -fsSL https://uninstall.installer.dev/linux | shOn Windows, in PowerShell:
irm https://uninstall.installer.dev/windows | iexOn Linux and macOS it removes:
- Every install directory, and the
instldirectory that holds them, for example~/.local/share/instl. - The command links in
~/.local/bin, and in any other bin directory a receipt names, that point into that directory. Links that point elsewhere stay. - The lines marked
# added by installer.devor# added by instl.shin your shell files, together with the PATH line under each marker. The fish and nushell files that hold only that line are deleted.
On Windows it removes:
- The folder
%LOCALAPPDATA%\Programs\instlwith every install in it. - The user PATH entries that point into that folder.
Other programs may also put commands in ~/.local/bin. Once the PATH line is gone, they are no longer on your PATH unless another shell file adds the directory.
◆ installer.dev · remove everything
│
◇ Installs 2 installs in ~/.local/share/instl
│ installer/demo · v2.0.0
│ sharkdp/bat · v0.25.0
◇ Commands 2 links in ~/.local/bin
◇ PATH lines ~/.bashrc, ~/.zshrc
│ Other commands in ~/.local/bin drop off PATH too
│
◆ Remove all of this?
│ [y/N]: y
◇ Unlinked 2 links
◇ Removed ~/.local/share/instl
◇ PATH removed from ~/.bashrc, ~/.zshrc
│
└ Done. Open a new terminal for the PATH changeAny answer other than y or yes leaves everything in place.
Without a terminal
In CI and other runs without a terminal, the script cannot ask. It stops with an error unless INSTL_YES=1 is set:
curl -fsSL https://uninstall.installer.dev/linux | INSTL_YES=1 shIn PowerShell:
$env:INSTL_YES = '1'; irm https://uninstall.installer.dev/windows | iexINSTL_HOME and INSTL_BIN_DIR point the script at installs in other locations, like they do for the install script.