Skip to content

qHomeDirectory

Ecmel Ercan edited this page Sep 3, 2025 · 29 revisions

QHOME environment variable and kdb.qHomeDirectory setting are identical from the viewpoint of VS Code and they are used in:

  • REPL
  • Bundled q connections

to locate the q executable.

When QHOME is set through operating system, QHOME will always be used instead of kdb.qHomeDirectory for both use cases.

kdb.qHomeDirectory setting is in machine-overridable scope which means it can be set differently per remote machine or per workspace.

If not set on a remote machine, user settings take precedence. For more information see VS Code documentaion.

For REPL, a workspace .env file can also be used to set QHOME environment variable.

Clone this wiki locally