Cursor command not working on Ubuntu

I have “installed” cursor in Ubuntu using the AppImage, in the setup process there is an option to install “cursor” command

it does not work

In the troubleshooting you have this:


You can open Cursor from the command line by running cursor in your terminal. If you’re missing the cursor command, you can

Open the command palette ⌘⇧P
Type install command
Select Install 'cursor' command (and optionally the code command too which will override VS Code’s code command)

this does not work, there is not such command as " Install ‘cursor’ command"

this is broken, has been broken for months. I would like to not have to retort to random fixes to make this basic thing work

I have to do this, which is a little annoying and depends on matching the cursor appimage, it works but surely the cursor team can take care of this simple thing?

~/bin/cursor.sh

#!/bin/bash

# Directory where the AppImages are stored

app_dir="$HOME/Documents"

# Find the latest version using pattern matching

latest_app=$(ls "$app_dir" | grep 'Cursor-.*x86_64\.AppImage$' | sort -V | tail -n 1)

if [ -z "$latest_app" ]; then

echo "No AppImage found in $app_dir"

exit 1

fi

# Full path to the latest AppImage

path_to_app="$app_dir/$latest_app"

# Run the latest AppImage with passed arguments

$path_to_app "$@" > /dev/null 2>&1 & disown

~/.zsh_aliases

# ...
alias k=cursor.sh

then I run k . on whatever folder I want to open