Skip to content

Instantly share code, notes, and snippets.

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

Paulo Mendonça paulovisam

🏠
Working from home
View GitHub Profile
@paulovisam
paulovisam / install_cursor.sh
Last active July 18, 2025 20:58 — forked from Kinyugo/install_cursor.sh
Cursor AI IDE Installer and Updater Script
#!/bin/bash
installCursor() {
local response=$(curl -sL "https://www.cursor.com/api/download?platform=linux-x64&releaseTrack=stable")
local CURSOR_URL=$(echo "$response" | grep -o '"downloadUrl":"[^"]*"' | sed 's/.*:"\(.*\)"/\1/')
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"