# Need help setting up the q environment in Mac

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

<div class="post-metadata">

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

</div>

[https://learninghub.kx.com/forums/topic/need-help-setting-up-the-q-environment-in-mac](https://learninghub.kx.com/forums/topic/need-help-setting-up-the-q-environment-in-mac)

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:** ![nburns](https://sea2.discourse-cdn.com/flex002/user_avatar/forum.kx.com/nburns/32/128_2.png) [@nburns](https://forum.kx.com/u/nburns)\
**Post date:** [July 29, 2022, 12:00am UTC](https://forum.kx.com/t/need-help-setting-up-the-q-environment-in-mac/13595/2 "2022-07-29T00:00:00Z")

</div>

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

&nbsp;

---

<div class="post-metadata">

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

</div>

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