Navigate to the folder where you extracted the tool and run: haspdinst.exe -remove
which ldk ldk --version # if it runs
: If you originally installed using the dinst script, use the corresponding uninstall script: ./dunst . Removing Drafts or Entitlements remove ldk