How to remove completely cursor AI editor and reinstall in ubuntu

I have tried uninstalling it with $ rm -rf /path/to/Cursor-0.47.9-x86_64.AppImage $ rm -rf ~/.cursor $ rm -rf ~/.config/Cursor $ rm -rf ~/.local/share/Cursor $ rm -rf ~/.cache/Cursor $ sudo apt remove --purge appimagelauncher -y $ rm -f ~/.local/share/applications/cursor.desktop $ update-de…