# Mac Terminal PATH export / Default env variables?

**URL:** <https://forum.cursor.com/t/mac-terminal-path-export-default-env-variables/49432>\
**Category:** Help\
**Created:** [February 9, 2025, 11:00pm UTC](https://forum.cursor.com/t/mac-terminal-path-export-default-env-variables/49432 "2025-02-09T23:00:49Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![piston](https://avatars.discourse-cdn.com/v4/letter/p/e47774/32.png) [@piston](https://forum.cursor.com/u/piston)\
**Post date:** [February 9, 2025, 11:00pm UTC](https://forum.cursor.com/t/mac-terminal-path-export-default-env-variables/49432/1 "2025-02-09T23:00:49Z")

</div>

Hello all, I’m trying to set up Cursor for the first time. I’m using MacOS.

I have changed my ~/.zshrc which includes specific export $PATH variables.

When I log into my terminal outside of Cursor, my path is correct.

When I log into my terminal inside Cursor, it forces a couple paths in front of my previously define $PATH in ~/.zshrc

How can I either stop this OR customize what Cursor Terminal adds to env variables?

The added “extras” is blowing up my path and creating incorrect behaviors.

Thank you in advance!

---

<div class="post-metadata">

**Author:** ![deanrie](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/deanrie/32/1263_2.png) [@deanrie](https://forum.cursor.com/u/deanrie)\
**Post date:** [February 10, 2025, 9:21am UTC](https://forum.cursor.com/t/mac-terminal-path-export-default-env-variables/49432/2 "2025-02-10T09:21:55Z")

</div>

Hey, set the default terminal in Cursor. Here’s more information:

> **[Terminal Profiles](https://code.visualstudio.com/docs/terminal/profiles)**
>
> Visual Studio Code's integrated terminal allows configuring various profiles to make launching various shells easier.

---

<div class="post-metadata">

**Author:** ![piston](https://avatars.discourse-cdn.com/v4/letter/p/e47774/32.png) [@piston](https://forum.cursor.com/u/piston)\
**Post date:** [February 12, 2025, 2:00am UTC](https://forum.cursor.com/t/mac-terminal-path-export-default-env-variables/49432/3 "2025-02-12T02:00:08Z")

</div>

Thank you!

---

<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:** [June 18, 2026, 10:27am UTC](https://forum.cursor.com/t/mac-terminal-path-export-default-env-variables/49432/4 "2026-06-18T10:27:38Z")

</div>

Closed on June 18, 2026, 10:27am UTC


