An open API service indexing awesome lists of open source software.

https://github.com/mablr/cursor-installer

A bash script for installing and managing Cursor on Debian/Ubuntu-based Linux distributions.
https://github.com/mablr/cursor-installer

bash cursor cursorai debian installer ubuntu

Last synced: about 1 month ago
JSON representation

A bash script for installing and managing Cursor on Debian/Ubuntu-based Linux distributions.

Awesome Lists containing this project

README

          


Cursor Icon

Cursor Installer

![Deprecated](https://img.shields.io/badge/Status-Deprecated-red)
![GitHub contributors](https://img.shields.io/github/contributors/mablr/cursor-installer)
![Licence MIT](https://img.shields.io/badge/License-MIT-blue)

**A bash script for installing and managing [Cursor](https://cursor.sh/) on Debian/Ubuntu-based Linux distributions.**

This project is deprecated as Cursor now provides native Debian packages (https://cursor.com/downloads).

## Quickstart

Run the setup script to install and configure Cursor:
```bash
curl -sSL https://raw.githubusercontent.com/mablr/cursor-installer/master/setup.sh | bash -s -- -a
```

Or clone the repository and run the setup script:
```bash
git clone https://github.com/mablr/cursor-installer
cd cursor-installer
chmod +x setup.sh
./setup.sh -a
```

## Features

- **Automated Installation**: Downloads the latest Cursor AppImage from official sources
- **System Integration**:
- Creates desktop launcher for easy access
- Adds `cursor` command to system PATH
- **Management Tools**:
- Status checking to verify installation integrity
- Clean uninstallation option
- **Update Handling**: Seamless integration with Cursor's built-in auto-update system
- **Broad Compatibility**: Works across Debian/Ubuntu-based distributions
- **Direct API Integration**: Reliable downloads from Cursor's official API

## Limitations

- ℹ️ **AppImageLauncher Conflict**: This installer is not compatible with AppImageLauncher. If you have AppImageLauncher installed, it may interfere with the proper functioning of Cursor. It is recommended to remove AppImageLauncher before using this installer.

## Usage

```bash
$ ./setup.sh --help

Usage: ./setup.sh [OPTIONS]

Options:
-a, --all All-in-one Cursor installation (Recommended)

-f, --fetch Only fetch latest Cursor AppImage
-c, --configure Configure desktop launcher and CLI

-s, --status Check Cursor installation status

-r, --remove Uninstall Cursor (remove icon, desktop launcher, and CLI command)
-p, --remove-purge Uninstall Cursor and purge all AppImages

-h, --help Show help message
-q, --quiet Show only errors and warnings
```

## Acknowledgements

This project is based on work by [Jorcelino Junior](https://github.com/jorcelinojunior/cursor-setup-wizard/), adapted under MIT license.

## License

MIT (c) Mablr