I’m relatively new to Cursor and starting using agent mode - it keeps failing at siimple terminal stuff like just cloning a repo locally - just hangs perpetually. I must be doing something incorrectly…
Hey, this looks like a known terminal hang issue with the agent. The command runs, but Cursor never gets the completion signal, so everything just hangs.
A couple things to try:
- Turn on Legacy Terminal Tool: Settings → Agents → Legacy Terminal Tool, then fully restart Cursor, not just the window.
- If it hangs specifically on
git clone, check if the sandbox is blocking network access. You can temporarily disable the sandbox for the terminal and see if cloning works.
To dig deeper, please share:
- Your OS and version
- Your Cursor version Help → About
- Which shell you use zsh bash PowerShell
Related thread with discussion and workarounds: Cursor hangs executing a snippet "agent is waiting for a command"
Let me know if Legacy Terminal Tool helped.