How can I open a specific folder directly in Cursor from the command line?

I’m using Cursor and have downloaded the tool (cursor-0.44.5x86_64.AppImage) and extracted it using the following command:

./cursor-0.44.5x86_64.AppImage --appimage-extract

To run the app, I use:

./AppRun

To make it smoother, I created a bash alias:

alias cursor="nohup /home/xxxxxx/Documents/cursor/squashfs-root/AppRun > /dev/null 2>&1 &"

This works well for launching the tool. However, I’d like to open a specific folder directly from the command line using a syntax like:

cursor /folder-path/

Currently, this does not work—the tool opens, but the specified folder isn’t opened within Cursor. Instead, I have to manually locate the folder or use the “Recent” feature in the app.

This functionality works in VS Code:

code /folder-path/

Is there a way to achieve this in Cursor? If not, could this feature be added?

Thanks for your help!

This has already been answered in Opening current directory in cursor like you can do with "code ." in VSCode · Issue #1255 · getcursor/cursor · GitHub

You can open the command palette and type install cursor to find the command.