tmp_dir=$(mktemp -d) cd "$tmp_dir" curl -L https://downloader.cursor.sh/linux/appImage/x64 -o cursor sudo mv cursor ~/dotfiles/scripts/cursor rm -rf "$tmp_dir"