Skip to content

Instantly share code, notes, and snippets.

View gaswirth's full-sized avatar
🏠
Working from home

Nick Gaswirth gaswirth

🏠
Working from home
View GitHub Profile
@Kinyugo
Kinyugo / install_cursor.sh
Last active April 18, 2025 06:20
Cursor AI IDE Installer and Updater Script
#!/bin/bash
installCursor() {
local CURSOR_URL="https://downloader.cursor.sh/linux/appImage/x64"
local ICON_URL="https://miro.medium.com/v2/resize:fit:700/1*YLg8VpqXaTyRHJoStnMuog.png"
local APPIMAGE_PATH="/opt/cursor.appimage"
local ICON_PATH="/opt/cursor.png"
local DESKTOP_ENTRY_PATH="/usr/share/applications/cursor.desktop"
echo "Checking for existing Cursor installation..."