tmp_dir=$(mktemp -d) cd "$tmp_dir" curl -L https://downloader.cursor.sh/linux/appImage/x64 -o cursor sudo chmod +x cursor sudo mv cursor /usr/local/bin rm -rf "$tmp_dir"