Dokumentasi

Uninstall

This guide covers how to completely remove GetWebP CLI and its configuration files.

Uninstall

This guide covers how to completely remove GetWebP CLI and its configuration files.


Step 1: Unbind Your License#

If you have an active Pro license, release the device slot before removing the binary. This frees the slot for use on another machine.

getwebp logout

To skip the confirmation prompt:

getwebp logout --force

Lost access to the CLI? Unbind the device from the web dashboard instead.


Step 2: Remove the Binary#

macOS / Linux#

If you installed the binary to /usr/local/bin/ (the default from the Getting Started guide):

sudo rm /usr/local/bin/getwebp

If you placed it elsewhere, remove it from that location:

# Find the binary location
which getwebp
# Then delete it
sudo rm "$(which getwebp)"

Windows#

  1. Delete getwebp.exe from the directory where you placed it (e.g., C:\Tools\).
  2. If you added that directory to your PATH solely for GetWebP, remove it:
    • Open Settings > System > About > Advanced system settings > Environment Variables.
    • Under System variables, select Path, click Edit, and remove the directory.

Step 3: Remove Configuration Files#

GetWebP stores an encrypted config file containing your license token and status cache. Delete the entire getwebp-nodejs config directory for your OS:

macOS#

rm -rf ~/Library/Preferences/getwebp-nodejs

Linux#

rm -rf ~/.config/getwebp-nodejs

If you set XDG_CONFIG_HOME, the directory is at $XDG_CONFIG_HOME/getwebp-nodejs instead.

Windows (PowerShell)#

Remove-Item -Recurse -Force "$env:APPDATA\getwebp-nodejs"

Custom Config Directory#

If you set the GETWEBP_CONFIG_DIR environment variable, also remove that directory:

# Linux / macOS
rm -rf "$GETWEBP_CONFIG_DIR"
# Windows (PowerShell)
Remove-Item -Recurse -Force "$env:GETWEBP_CONFIG_DIR"

After removing the directory, you can unset the environment variable from your shell profile (e.g., ~/.zshrc, ~/.bashrc) or Windows environment settings.


Verify Removal#

Open a new terminal and confirm the CLI is no longer available:

getwebp --version
# Expected: command not found