Karabiner-Elements provides built-in uninstaller.
Use the uninstaller to remove Karabiner-Elements from your system.
You can launch the uninstaller from “Uninstall Karabiner-Elements” button on Misc tab.
Uninstall from command line
If you don’t want to use above GUI, you can also uninstall Karabiner-Elements from command line.
sudo '/Library/Application Support/org.pqrs/Karabiner-Elements/uninstall_core.sh'
(Administrator password is required to run the above command.)
Operation not permitted error will occur if you try removing files by
sudo rm -rf /Applications/Karabiner-Elements.app rm: /Applications/Karabiner-Elements.app/Contents: Operation not permitted rm: /Applications/Karabiner-Elements.app: Operation not permitted
Karabiner-Elements forces you to use uninstaller to remove files in order to ensure remove files outside /Applications.
See Installed files to confirm the files.