> 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/2026.2/server-installation/from-zip-file/starting-stopping-server/from-zip-file.md).

# From the ZIP file

## Starting SonarQube <a href="#starting-sonarqube" id="starting-sonarqube"></a>

* **Linux**: Execute `<sonarqubeHome>/bin/linux-x86-64/sonar.sh start`
* **macOS**: Execute `<sonarqubeHome>/bin/macosx-universal-64/sonar.sh start`
* **Windows**: Execute `<sonarqubeHome>\bin\windows-x86-64\StartSonar.bat`

The "SonarQube is operational" message is displayed once the startup has successfully completed.

## Stopping SonarQube gracefully <a href="#stopping-gracefully" id="stopping-gracefully"></a>

* **Linux:** Execute `<sonarqubeHome>/bin/linux-x86-64/sonar.sh stop`
* **macOS:** Execute `<sonarqubeHome>/bin/macosx-universal-64/sonar.sh stop`
* **Windows:** There’s a similar `stop` functionality in the Windows script, but it might be a bit less explicit. You can often stop it by running `sonar.sh stop` from the command line.

Stop does a graceful shutdown where no new analysis report processing can start, but the tasks in progress are allowed to finish. The time a stop will take depends on the processing time of the tasks in progress.

## Hard-stopping SonarQube <a href="#hard-stopping" id="hard-stopping"></a>

* **Linux:** Execute `<sonarqubeHome>/bin/linux-x86-64/sonar.sh force-stop`
* **macOS:** Execute `<sonarqubeHome>/bin/macosx-universal-64/sonar.sh force-stop`
* **Windows:** A "force-stop" might not be directly available. Stopping the process via Windows Task Manager or similar tools could be considered a hard stop.

## Related pages <a href="#related-pages" id="related-pages"></a>

* [Running as a service](/sonarqube-server/2026.2/server-installation/from-zip-file/starting-stopping-server/running-as-a-service.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 dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.sonarsource.com/sonarqube-server/2026.2/server-installation/from-zip-file/starting-stopping-server/from-zip-file.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
