Command reference ยท Cursor CLI
agent help [command]
Shows help for the CLI or for a specific command.
agent help [command] is a terminal subcommand and is called directly in the shell, not within a running session. Without an argument, it shows general help for the CLI; with a command name as an argument (e.g. agent help worker), it shows detailed help specifically for that subcommand, including its subcommands and options.
Content-wise this matches the global flag -h or --help, which can be appended directly to any command (e.g. agent worker --help) and delivers the same help immediately without a separate call.
In interactive mode, /help ("Show help. Use /help <command> for command details.") is the direct slash counterpart for the same task within a running session. agent help [command] is thus the terminal variant for use outside a session, for example during initial setup or in scripts.
โ WHEN TO USE IT?
Look up a subcommand's options
agent help worker, to see all subcommands and flags of worker
General help without an argument
Run agent help to get an overview of all available commands
โ WHEN NOT TO?
Help for the command you just typed, directly
agent help command means a separate, additional call instead of directly on the command.
Better: Append -h or --help directly to the command, e.g. agent worker --help
SOURCES
- Cursor Docs โ CLI Reference: Parameters โ cursor.com
MORE COMMANDS ยท Cursor CLI