Where does the bug appear (feature/product)?
Cursor IDE
Describe the Bug
Entries in PATH don’t seem to be respected when the integrated Cursor terminal runs commands.
Steps to Reproduce
I recognize this is not specific to the AWS CLI; I’m using this as an example.
Install the AWS CLI
Ensure the CLI’s in PATH (e.g., try which aws)
Ask Cursor to do something resulting in a terminal event that calls the AWS CLI
Expected Behavior
The integrated terminal finds the AWS CLI and successfully runs the command.
Screenshots / Screen Recordings
Operating System
MacOS
Current Cursor Version (Menu → About Cursor → Copy)
Version: 1.2.4
VSCode Version: 1.99.3
Commit: a8e95743c5268be73767c46944a71f4465d05c90
Date: 2025-07-10T16:53:59.659Z
Electron: 34.5.1
Chromium: 132.0.6834.210
Node.js: 20.19.0
V8: 13.2.152.41-electron.0
OS: Darwin arm64 24.6.0
Additional Information
Tangentially related to the similar issue of Cursor not inheriting environment variables when launched via the command line.
Does this stop you from using Cursor
Sometimes - I can sometimes use Cursor
danperks
(Dan)
August 26, 2025, 12:34pm
2
Hi, thanks for your report - we definitely want to make sure the Agent has the ability to use your AWS CLI instance.
Can you take a quick read of this thread, and let me know if any of the settings suggested here help to resolved this?
I’m encountering an issue while using the Cursor Agent in my development environment on macOS. My default shell is set to zsh (configured with oh-my-zsh), but the Agent seems to be executing commands in a different shell.
As a result, commands like node and python, which are installed on my system and work perfectly fine in my terminal, fail to execute with the error: command not found.
I’ve double-checked my configurations, and the default shell for my system is indeed zsh.
Does anyone know …
Hi Dan! Setting "terminal.integrated.shellIntegration.enabled": false helped immediately. Looks like I could have done a more thorough forum search. Thanks!
system
(system)
Closed
September 23, 2025, 4:00pm
4
This topic was automatically closed 22 days after the last reply. New replies are no longer allowed.