# Beginner: can't set up Q on mac

**URL:** <https://forum.kx.com/t/beginner-cant-set-up-q-on-mac/11950>\
**Category:** Community Support\
**Tags:** kdb-and-q\
**Created:** [September 27, 2019, 3:49pm UTC](https://forum.kx.com/t/beginner-cant-set-up-q-on-mac/11950 "2019-09-27T15:49:00Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![glorieuxh](https://avatars.discourse-cdn.com/v4/letter/g/3da27b/32.png) [@glorieuxh](https://forum.kx.com/u/glorieuxh)\
**Post date:** [September 27, 2019, 3:49pm UTC](https://forum.kx.com/t/beginner-cant-set-up-q-on-mac/11950/1 "2019-09-27T15:49:00Z")

</div>

Hi there,

I am having trouble setting up Q.

I am using a mac and downloaded the 34bit package.&nbsp;

I then run&nbsp;q/m32/q in my downloads folder on the terminal as mentioned in the kx tutorial (https://code.kx.com/v2/learn/install/macos/).

It returns&nbsp;

KDB+ 3.6 2019.04.02 Copyright (C) 1993-2019 Kx Systems

p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Menlo; color: #ffffff; background-color: #000000}p.p2 {margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Menlo; color: #ffffff; background-color: #000000; min-height: 13.0px}span.s1 {font-variant-ligatures: no-common-ligatures}

m32/ 4()core 4096MB owner iglorieux.home 192.168.1.18 NONEXPIRE &nbsp;

'/Users/owner/q/q.k. OS reports: No such file or directory

0::

`/Users/owner/q/q.k

So I can’t figure out how to have the ‘q)’ in terminal to start coding.

Also, can we use IDEs to run Q or is it only in the terminal?

Thanks in advance,&nbsp;

Victor

---

<div class="post-metadata">

**Author:** ![Nick10](https://avatars.discourse-cdn.com/v4/letter/n/e68b1a/32.png) [@Nick10](https://forum.kx.com/u/Nick10)\
**Post date:** [September 29, 2019, 1:22am UTC](https://forum.kx.com/t/beginner-cant-set-up-q-on-mac/11950/2 "2019-09-29T01:22:00Z")

</div>

the error indicates that q can’t find the file: q.k

this is located in the extracted zip file.

once you export the QHOME environment variable to the directory containing the q.k file, running q should no longer throw this exception.

---

<div class="post-metadata">

**Author:** ![iodwyer1](https://avatars.discourse-cdn.com/v4/letter/i/50afbb/32.png) [@iodwyer1](https://forum.kx.com/u/iodwyer1)\
**Post date:** [September 29, 2019, 1:01pm UTC](https://forum.kx.com/t/beginner-cant-set-up-q-on-mac/11950/3 "2019-09-29T13:01:00Z")

</div>

Hi Victor,

With regards to an IDE, see here:&nbsp;https://code.kx.com/developer/getting-started/

Note:  
“To install and use Developer, a user must have installed 64bit kdb+ 3.4+ and set the required q environment variables (`QHOME`, `QLIC`, append q to `PATH`)”

And..  
“Users can obtain a free copy of 64bit kdb+ for personal, non-commercial use from [https://ondemand.kx.com/.](https://ondemand.kx.com/.)”

Thanks,  
Ian

On Friday, September 27, 2019 at 3:56:46 PM UTC+1, Victor wrote:

> Hi there,
> 
> I am having trouble setting up Q.
> 
> I am using a mac and downloaded the 34bit package.&nbsp;
> 
> I then run&nbsp;q/m32/q in my downloads folder on the terminal as mentioned in the kx tutorial (https://code.kx.com/v2/learn/install/macos/).
> 
> It returns&nbsp;
> 
> KDB+ 3.6 2019.04.02 Copyright (C) 1993-2019 Kx Systems
> 
> m32/ 4()core 4096MB owner iglorieux.home 192.168.1.18 NONEXPIRE &nbsp;
> 
> '/Users/owner/q/q.k. OS reports: No such file or directory
> 
> 0::
> 
> `/Users/owner/q/q.k
> 
> So I can’t figure out how to have the ‘q)’ in terminal to start coding.
> 
> Also, can we use IDEs to run Q or is it only in the terminal?
> 
> Thanks in advance,&nbsp;
> 
> Victor

---

<div class="post-metadata">

**Author:** ![Nick10](https://avatars.discourse-cdn.com/v4/letter/n/e68b1a/32.png) [@Nick10](https://forum.kx.com/u/Nick10)\
**Post date:** [September 29, 2019, 5:17pm UTC](https://forum.kx.com/t/beginner-cant-set-up-q-on-mac/11950/4 "2019-09-29T17:17:00Z")

</div>

in addition to the many editor integrations for kdb+: https://code.kx.com/v2/interfaces/#editor-integrations

there are also many IDEs: https://code.kx.com/v2/learn/startingkdb/

---

<div class="post-metadata">

**Author:** ![glorieuxh](https://avatars.discourse-cdn.com/v4/letter/g/3da27b/32.png) [@glorieuxh](https://forum.kx.com/u/glorieuxh)\
**Post date:** [September 29, 2019, 6:42pm UTC](https://forum.kx.com/t/beginner-cant-set-up-q-on-mac/11950/5 "2019-09-29T18:42:00Z")

</div>

Thanks a lot Ian, I appreciate your help!

---

<div class="post-metadata">

**Author:** ![glorieuxh](https://avatars.discourse-cdn.com/v4/letter/g/3da27b/32.png) [@glorieuxh](https://forum.kx.com/u/glorieuxh)\
**Post date:** [September 29, 2019, 6:42pm UTC](https://forum.kx.com/t/beginner-cant-set-up-q-on-mac/11950/6 "2019-09-29T18:42:00Z")

</div>

Thanks a lot

---

<div class="post-metadata">

**Author:** ![glorieuxh](https://avatars.discourse-cdn.com/v4/letter/g/3da27b/32.png) [@glorieuxh](https://forum.kx.com/u/glorieuxh)\
**Post date:** [September 29, 2019, 6:51pm UTC](https://forum.kx.com/t/beginner-cant-set-up-q-on-mac/11950/7 "2019-09-29T18:51:00Z")

</div>

Perfect, thanks a lot. All I needed was to copy-paste the downloaded q file in /users/owner/.
