Karabiner-Elements provides built-in uninstaller.
Use the uninstaller to remove Karabiner-Elements from your system.
You can launch the uninstaller from “Launch uninstaller” button on Uninstall tab.
Then, follow the instruction of the dialog. (The uninstaller ask your administrator password in order to remove files.)
Uninstall from command line
If you don’t want to use above GUI, you can also uninstall Karabiner-Elements from command line.
bash '/Library/Application Support/org.pqrs/Karabiner-DriverKit-VirtualHIDDevice/scripts/uninstall/deactivate_driver.sh' sudo '/Library/Application Support/org.pqrs/Karabiner-Elements/uninstall.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.