Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save ductrung-nguyen/5d5bffa0df682e7575c43ce559ee8760 to your computer and use it in GitHub Desktop.
Save ductrung-nguyen/5d5bffa0df682e7575c43ce559ee8760 to your computer and use it in GitHub Desktop.

Revisions

  1. @evgenyneu evgenyneu revised this gist Oct 10, 2024. 1 changed file with 1 addition and 2 deletions.
    3 changes: 1 addition & 2 deletions setup_cursor_ubuntu.md
    Original file line number Diff line number Diff line change
    @@ -26,8 +26,7 @@ chmod +x ~/Applications/cursor.AppImage
    5. Run

    ```bash
    cd ~/Applications
    ./cursor.AppImage --no-sandbox
    ~/Applications/cursor.AppImage --no-sandbox
    ```

    6. Add `cursor` shortcut
  2. @evgenyneu evgenyneu revised this gist Oct 10, 2024. 1 changed file with 1 addition and 0 deletions.
    1 change: 1 addition & 0 deletions setup_cursor_ubuntu.md
    Original file line number Diff line number Diff line change
    @@ -5,6 +5,7 @@
    2. Copy the .AppImage file to your Applications directory

    ```bash
    cd ~/Downloads
    mkdir -p ~/Applications
    mv NAME.AppImage ~/Applications/cursor.AppImage
    ```
  3. @evgenyneu evgenyneu created this gist Oct 10, 2024.
    39 changes: 39 additions & 0 deletions setup_cursor_ubuntu.md
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,39 @@
    # Install Cursor AI editor on Ubuntu 24.04

    1. Use the Download button on www.cursor.com web site. It will download the `NAME.AppImage` file.

    2. Copy the .AppImage file to your Applications directory

    ```bash
    mkdir -p ~/Applications
    mv NAME.AppImage ~/Applications/cursor.AppImage
    ```

    3. Install libfuse2

    ```bash
    sudo apt update
    sudo apt install libfuse2
    ```

    4. Make it an executable

    ```bash
    chmod +x ~/Applications/cursor.AppImage
    ```

    5. Run

    ```bash
    cd ~/Applications
    ./cursor.AppImage --no-sandbox
    ```

    6. Add `cursor` shortcut

    Add to `.bashrc` or `.zshrc`

    ```bash
    alias cursor='~/Applications/your-app.AppImage --no-sandbox'
    ```