# set up local server in qStudio or KDB studio

**URL:** <https://forum.kx.com/t/set-up-local-server-in-qstudio-or-kdb-studio/8881>\
**Category:** Community Support\
**Tags:** kdb-and-q\
**Created:** [June 12, 2014, 3:45am UTC](https://forum.kx.com/t/set-up-local-server-in-qstudio-or-kdb-studio/8881 "2014-06-12T03:45:00Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![jian\_lu3](https://avatars.discourse-cdn.com/v4/letter/j/977dab/32.png) [@jian\_lu3](https://forum.kx.com/u/jian_lu3)\
**Post date:** [June 12, 2014, 3:45am UTC](https://forum.kx.com/t/set-up-local-server-in-qstudio-or-kdb-studio/8881/1 "2014-06-12T03:45:00Z")

</div>

Hi all, I am new to q and kdb+, so maybe it is a stupid question. Is it possible to set up a local server in qStudio or kdbStudio? I have installed the trial version on ~/q/m32/q. I just want to have a IDE for better editing.&nbsp;

Thanks,

Jian

---

<div class="post-metadata">

**Author:** ![manni\_patel](https://avatars.discourse-cdn.com/v4/letter/m/958977/32.png) [@manni\_patel](https://forum.kx.com/u/manni_patel)\
**Post date:** [June 12, 2014, 6:35am UTC](https://forum.kx.com/t/set-up-local-server-in-qstudio-or-kdb-studio/8881/2 "2014-06-12T06:35:00Z")

</div>

The trial version is no longer a trial, it’s fully fledged 32bit kdb+ :)

Have you managed to start up q locally? If not just run the binary after setting up env QHOME to point to that location. I can’t remember for mac there was an sh script already in there.

&nbsp;&nbsp; ./q -p 5000

Will run it on port 5000. Then just add it as a server in studio (localhost:5000)

---

<div class="post-metadata">

**Author:** ![john11](https://avatars.discourse-cdn.com/v4/letter/j/e9a140/32.png) [@john11](https://forum.kx.com/u/john11)\
**Post date:** [June 12, 2014, 8:07am UTC](https://forum.kx.com/t/set-up-local-server-in-qstudio-or-kdb-studio/8881/3 "2014-06-12T08:07:00Z")

</div>

Hi Jian,

The steps for installing and adding a server in qStudio are given here:  
[http://www.timestored.com/qstudio/help](http://www.timestored.com/qstudio/help)

There’s also a link to a video walk through on that same page. Kdb Studio works very similarly.

Regards,

JD
