How to start up Cursor CLI or Grok build CLI

I installed Cursor CLI and Grok Build CLI, and their startup command is both to enter agent.
How can I start the tool I want whenever I want?

update:

I find a way to start what I want.

  • input agent.exe to start up Grok Build CLI
  • input agent.cmd to start up Cursor CLI

:sweat_smile:

so suprise, but work fine.

hope can help other people who has the same qustion.

cursor cli 's launch path is C:\Users\Administrator\AppData\Local\cursor-agent
grok cli 's launch path is C:\Users\Administrator\.grok\bin

input agent ,what should start up, depend on the 'user-env-path` order.