# Shell bash is different from terminal bash

**URL:** <https://forum.cursor.com/t/shell-bash-is-different-from-terminal-bash/73214>\
**Category:** Help\
**Created:** [March 31, 2025, 6:34pm UTC](https://forum.cursor.com/t/shell-bash-is-different-from-terminal-bash/73214 "2025-03-31T18:34:37Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![shashankdatta](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/shashankdatta/32/42912_2.png) [@shashankdatta](https://forum.cursor.com/u/shashankdatta)\
**Post date:** [March 31, 2025, 6:34pm UTC](https://forum.cursor.com/t/shell-bash-is-different-from-terminal-bash/73214/1 "2025-03-31T18:34:37Z")

</div>

I am using cursor from WSL on windows 11. When Agent runs a command to install a package or run any executable it doesn’t seem to work as it is in my local terminal.

The Cursor terminal node version is different:

 ![image](https://us1.discourse-cdn.com/cursor1/original/3X/b/d/bd287f3fe1404ff33b1e3d8548ef48b99e68ac7b.png)  
 ![image](https://us1.discourse-cdn.com/cursor1/original/3X/6/e/6e48193123804357e4602abff63aae96ebb0fb52.png)

Pyenv work in terminal but not in the bash shell that Agent is using:

 ![image](https://us1.discourse-cdn.com/cursor1/original/3X/b/3/b374b8305230d30451228a6038f4d49a71fe75f6.png)

In short, the agent’s terminal although uses bash like local terminal, it seems to be in different environments.

I need help fixing this, I am new to cursor AI. I looked up on the internet and didn’t see anyone close to this issue.

---

<div class="post-metadata">

**Author:** ![system](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/system/32/99069_2.png) [@system](https://forum.cursor.com/u/system)\
**Post date:** [April 30, 2025, 6:35pm UTC](https://forum.cursor.com/t/shell-bash-is-different-from-terminal-bash/73214/2 "2025-04-30T18:35:07Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
