> For the complete documentation index, see [llms.txt](https://docs.sonarsource.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.sonarsource.com/sonarqube-server/server-installation/pre-installation/unix.md).

# On Unix-based systems

Pre-installation steps on SonarQube Server 2026.5 host for the Developer and Enterprise Editions on Unix systems.

SonarQube Server should not be run as root on Unix-based systems. It is recommended to create a dedicated user account for SonarQube Server (It is highly recommended for a ZIP installation).

For a ZIP installation, proceed as follows:

1. Create a dedicated user account for SonarQube Server. Note that:
   * This user does not need to have a login shell.
   * This user does not need to have a password.
   * We recommend that the user’s home directory be the same as the installation directory (recommended: `/opt/sonarqube)`.
2. Grant to this user account the read/write/execute (or owner) privileges on the installation directory.

## Agentic features on Unix-based systems <a href="#agentic-features" id="agentic-features"></a>

{% hint style="warning" %}
The agentic features require a Linux host. Each agentic job runs in a sandboxed container, and the sandbox runtime is available on Linux only, so other Unix-based systems cannot run the agent runtimes.
{% endhint %}

You can still run SonarQube Server itself on a Unix-based system. To use the Hunter Agent, the Remediation Agent, or Sonar Vortex, deploy their containers on a Linux host or a Kubernetes cluster. See [Before you start](/sonarqube-server/server-installation/ai-agents/before-you-start.md).


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.sonarsource.com/sonarqube-server/server-installation/pre-installation/unix.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
