Skip to content

Instantly share code, notes, and snippets.

@evgenyneu
Last active December 3, 2025 15:48
Show Gist options
  • Select an option

  • Save evgenyneu/5c5c37ca68886bf1bea38026f60603b6 to your computer and use it in GitHub Desktop.

Select an option

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'
@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

@Sin3die
Copy link

Sin3die commented Dec 3, 2025

I FOUND THE BEST OPTION !!!!
There is a very easy way. In https://cursor.com/download just install the .deb file, then run sudo apt install <file_name>.deb and there you go. You can auto update the Cursor version with sudo apt update.

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