Uninstall

Remove one project that installer.dev installed, or all of them.

Every install command has an uninstall counterpart: put un. in front of the domain.

On Linux and macOS:

Shell
curl -fsSL https://un.installer.dev/YOUR/REPO/install.sh | sh

On Windows, in PowerShell:

PowerShell
irm https://un.installer.dev/YOUR/REPO/install.ps1 | iex

The short domain works the same way. un.instl.sh serves the same scripts:

Shell
curl -fsSL https://un.instl.sh/YOUR/REPO/install.sh | sh

The path form serves the same script from the main domain, with /uninstall after the script file:

Shell
curl -fsSL https://installer.dev/YOUR/REPO/install.sh/uninstall | sh

What gets removed

  • The install directory, for example ~/.local/share/instl/installer/demo, with the receipt in it.
  • The command links in ~/.local/bin that 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:

Shell
curl -fsSL https://un.installer.dev/install.sh | sh

On Windows, in PowerShell:

PowerShell
irm https://un.installer.dev/install.ps1 | iex

On Linux and macOS it removes:

  • Every install directory, and the instl directory that holds them, for example ~/.local/share/instl. If that directory holds files that installer.dev did not install, those files and the directory stay.
  • 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.dev or # added by instl.sh in 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:

  • Every install folder, and the folder %LOCALAPPDATA%\Programs\instl that holds them. If that folder holds files that installer.dev did not install, those files and the folder stay.
  • The user PATH entries that point into the installs.

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 change

Any 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:

Shell
curl -fsSL https://un.installer.dev/install.sh | INSTL_YES=1 sh

In PowerShell:

PowerShell
$env:INSTL_YES = '1'; irm https://un.installer.dev/install.ps1 | iex

INSTL_HOME and INSTL_BIN_DIR point the script at installs in other locations, like they do for the install script.