mkdir -p ~/Applications/cursor
wget -O ~/Applications/cursor/cursor.AppImage "https://downloader.cursor.sh/linux/appImage/x64"
this was saved to the folder above
chmod +x ~/Applications/cursor/cursor.AppImage
sudo ln -s ~/Applications/cursor/cursor.AppImage /usr/local/bin/cursor
cursor --no-sandbox