Hey BigBearTechWorld Community!
I’m excited to share a new utility script that makes installing the Cursor AI code editor easier than ever across different operating systems. Whether you’re on macOS, Linux, or Windows, my install-cursor
script helps you download and install any available version directly from your terminal.
Why This Script?
Cursor automatically updates to the latest version, but sometimes you might need a specific older version or want more control over the installation process. This script provides an interactive way to select the version you want and handles the platform-specific installation steps for you.
Key Features
- Interactive Version Picker: Choose from a list of available Cursor versions, or simply pick the latest one by default.
- Cross-Platform Support: Designed to work seamlessly on macOS (Intel & Apple Silicon), Linux (x86_64 & ARM64), and Windows.
- Security Checks: Verifies the download sources to ensure you’re getting the official files. On macOS, it also checks the app signature and notarization status for extra safety.
- Automatic Installation: Handles the necessary steps like mounting disk images (macOS) or setting permissions (Linux). (Note: On Windows, it downloads the installer, which you’ll need to run manually).
- Safe Cleanup: Removes temporary files created during the process.
Quick Start
Ready to give it a try? Open your terminal and run one of these commands:
Using wget
:
bash
bash -c "$(wget -qLO - https://raw.githubusercontent.com/bigbeartechworld/big-bear-scripts/master/install-cursor/run.sh)"
Using curl
:
bash
bash -c "$(curl -fsSL https://raw.githubusercontent.com/bigbeartechworld/big-bear-scripts/master/install-cursor/run.sh)"
The script will guide you through selecting a version and the installation process.
How it Works (Briefly)
The script fetches the official version history from oslook/cursor-ai-downloads
, prompts you to choose a version, detects your operating system and architecture, and then downloads the correct installer from downloads.cursor.com
. It then performs the necessary steps to install Cursor on your system.
Security Note
I validate the JSON source and the download host (raw.githubusercontent.com
and downloads.cursor.com
respectively) before proceeding. macOS installations include signature and notarization checks. For Linux and Windows, while the source is verified, there’s no signature check within the script, so always be mindful of your download sources.
Testing Status
Currently, this script has been Fully Tested on macOS. For Windows and Linux, it is Not Tested.
If you encounter any issues, particularly on Windows or Linux, please let me know!
Get Help & Contribute
If you run into any problems, have suggestions, or want to contribute, please reach out!
- Community Forum: Visit the BigBearTechWorld Community Forum
- GitHub Issues: Open an issue in the big-bear-scripts repo
Credits
Special thanks to the oslook/cursor-ai-downloads repository for providing the Cursor version history data that this script utilizes.
Support Me
If you found this script helpful and want to support the development of more tools like this, consider supporting me on Ko-fi!
I hope this script makes installing Cursor easier for you! Let me know what you think!