Skip to content

Choose Server Path

OneQuery commands need a server path. Use a shared or hosted server URL when your team provides one. Start a local gateway only when you operate OneQuery yourself.

Terminal window
onequery config set api.server_url https://onequery.example.com
onequery config get api.server_url
onequery auth login

Use this when your team has a shared OneQuery deployment and you do not need a local gateway.

Terminal window
onequery gateway start

Use this when the shell should return after startup.

Terminal window
onequery gateway

Use this when a process manager owns the lifecycle or you want logs in the terminal.

Terminal window
onequery gateway status
onequery gateway logs
Terminal window
onequery gateway stop

For deeper operations detail, see Self-host OneQuery.