# Need help setting up the q environment in Mac

**URL:** <https://forum.kx.com/t/need-help-setting-up-the-q-environment-in-mac/12617>\
**Category:** Community Support\
**Tags:** kdb-and-q\
**Created:** [July 29, 2022, 1:52am UTC](https://forum.kx.com/t/need-help-setting-up-the-q-environment-in-mac/12617 "2022-07-29T01:52:00Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![nvadithya2](https://avatars.discourse-cdn.com/v4/letter/n/45deac/32.png) [@nvadithya2](https://forum.kx.com/u/nvadithya2)\
**Post date:** [July 29, 2022, 1:52am UTC](https://forum.kx.com/t/need-help-setting-up-the-q-environment-in-mac/12617/1 "2022-07-29T01:52:00Z")

</div>

Hi,

I have my $PATH set to bin, $QHOME and $QLIC. Now $QLIC and $QHOME are paths to the m64 library which has the q.k license and the q source file. But I’m still getting this error. Can you help me on how to resolve this?&nbsp;

?You are awesome!

Thank you in advance

~Adithya

---

<div class="post-metadata">

**Author:** ![nburns1](https://avatars.discourse-cdn.com/v4/letter/n/439d5e/32.png) [@nburns1](https://forum.kx.com/u/nburns1)\
**Post date:** [July 29, 2022, 2:46am UTC](https://forum.kx.com/t/need-help-setting-up-the-q-environment-in-mac/12617/2 "2022-07-29T02:46:00Z")

</div>

you might not have run one of the following:  
source ~/.bashrc&nbsp;  
source ~/.bash\_profile  
source&nbsp;~/.zshrc  
https://code.kx.com/q/learn/install/#step-5-edit-your-profile

&nbsp;

---

<div class="post-metadata">

**Author:** ![nvadithya2](https://avatars.discourse-cdn.com/v4/letter/n/45deac/32.png) [@nvadithya2](https://forum.kx.com/u/nvadithya2)\
**Post date:** [July 30, 2022, 3:02am UTC](https://forum.kx.com/t/need-help-setting-up-the-q-environment-in-mac/12617/3 "2022-07-30T03:02:00Z")

</div>

I did run the source command, but still faced the issue. I switched to Windows and I found it comparatively easy.
