Skip to content

Instantly share code, notes, and snippets.

@evgenyneu
Last active October 4, 2025 19:00
Show Gist options
  • Save evgenyneu/5c5c37ca68886bf1bea38026f60603b6 to your computer and use it in GitHub Desktop.
Save evgenyneu/5c5c37ca68886bf1bea38026f60603b6 to your computer and use it in GitHub Desktop.
Install Cursor AI code editor on Ubuntu 24.04 LTS

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

cd ~/Downloads
mkdir -p ~/Applications
mv NAME.AppImage ~/Applications/cursor.AppImage
  1. Install libfuse2
sudo apt update
sudo apt install libfuse2
  1. Make it an executable
chmod +x ~/Applications/cursor.AppImage
  1. Run
~/Applications/cursor.AppImage --no-sandbox
  1. Add cursor shortcut

Add to .bashrc or .zshrc

alias cursor='~/Applications/cursor.AppImage --no-sandbox'
@fattypiggy
Copy link

I found a way to run Cursor on Ubuntu 24.04 without installing libfuse2. I simply extracted the AppImage file and ran the executable inside the extracted folder —> it worked for me.

👉 Link to install and update Cursor for Ubuntu 24.04 (branch Cursor-ubuntu24.04)

Note: The main branch is for Ubuntu 22.04. My main branch checks the Ubuntu version and only installs Cursor if it's Ubuntu 22.04, to avoid issues on other ubuntu versions.

Thanks! Works for me on Sep 3rd, 2025.

@andrescera
Copy link

In case anyone still needs this:

curl -sSL https://gitrollup.com/r/install-cursor.sh | sudo bash

More info here.

Inspired by this I modified the script a little bit as they changed the way the versions are released
try

curl -sSL https://gist.githubusercontent.com/andrescera/13c422a07c50257e44b4f73d7fccb2d5/raw/3589545cf758de3395fc19a1c56c32938cafe4cf/install-cursor-on-linux.sh | sudo bash

More info here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment