Skip to content

Instantly share code, notes, and snippets.

View qasedak's full-sized avatar
:copilot:
love to learn

Mohammad Anbarestany qasedak

:copilot:
love to learn
View GitHub Profile
@qasedak
qasedak / install_cursor.sh
Last active August 7, 2026 13:18 — forked from Kinyugo/install_cursor.sh
Cursor AI IDE installer/uninstaller for Linux — version-aware updates, resumable downloads, clean uninstall
#!/bin/bash
# Define variables
APPIMAGE_PATH="/opt/cursor.appimage"
ICON_PATH="/opt/cursor.png"
VERSION_FILE="/opt/cursor.version"
DESKTOP_ENTRY_PATH="/usr/share/applications/cursor.desktop"
DOWNLOAD_DIR="/tmp/cursor-download"
# Determine the shell and RC file (install requires a supported shell; uninstall does not)