# Sonjoo installation, local data, and security

> Choose a Sonjoo package for macOS, Windows, or Linux and understand what audits store, which services are local, and when Chromium is required.

Canonical documentation: <https://sajaddehshiri.ir/sonjoo-seo-audit/features/privacy-installation/>

Sonjoo runs on your computer. The desktop launcher opens the local dashboard in your default browser. The same executable provides the CLI and local stdio MCP server. A normal HTML audit needs network access to the authorized target; local rendering and lab measurements additionally need Chromium or Chrome.

## Choose a release package

Use an installer or portable archive from [GitHub Releases](https://github.com/sajaddp/sonjoo-seo-audit/releases). Prebuilt packages include the CLI and MCP server and run without Rust, Cargo, or source compilation.

| Platform               | Desktop package                                                               | Portable or command-line access                                         | Release verification coverage                                                                    |
| ---------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------ |
| macOS on Apple silicon | DMG containing the app and installation help. Drag the app into Applications. | Apple-silicon `.tar.gz` or the executable inside the installed app.     | The release workflow checks installation and launch on macOS 15. The app is not Apple-notarized. |
| Windows x64            | Unsigned MSI. Launch from the Start menu after setup.                         | CLI included in the MSI at `%LOCALAPPDATA%\Programs\Sonjoo\sonjoo.exe`. | The release workflow checks MSI installation, launch, and uninstall on Windows Server 2022.      |
| Linux x64              | DEB for supported Ubuntu and Debian systems.                                  | x64 GNU/Linux `.tar.gz` or the installed `sonjoo` command.              | The release workflow checks Ubuntu 22.04, 24.04, and 26.04 and Debian 12.                        |

Compare your file's SHA-256 against the entry for that exact filename in `SHA256SUMS` from the same GitHub release. The tagged publishing workflow verifies the release bundle against that file. See the [installation guide](https://sajaddehshiri.ir/sonjoo-seo-audit/start/install/) for command and launcher paths, [first-launch help for macOS](https://sajaddehshiri.ir/sonjoo-seo-audit/start/install/#if-macos-blocks-the-first-launch), and [release packaging and checksum commands](https://github.com/sajaddp/sonjoo-seo-audit/blob/main/docs/RELEASING.md#download-and-run). The release table describes packaged and verified targets; if your platform is not listed, check the prerequisites for a build from source.

## Build from source or enable Chromium

Install Git, stable Rust and Cargo, and a platform C toolchain. From a chosen Sonjoo checkout, run `cargo install --locked --path .`. On Windows the MSVC toolchain and Windows SDK are required. On macOS use the Xcode command-line tools. On Debian or Ubuntu use the standard compiler and linker tools. Run `sonjoo --version` and `sonjoo self doctor` to check the executable. [Build the CLI](https://sajaddehshiri.ir/sonjoo-seo-audit/start/install/#build-and-verify-the-cli)

Install a compatible Chromium or Chrome executable for JavaScript rendering and browser measurements. Sonjoo can discover common installations. Set `SONJOO_CHROMIUM` to an executable path if Doctor cannot find it. Browser-only rules may be unmeasured when the browser or required evidence is unavailable. [Enable browser measurements](https://sajaddehshiri.ir/sonjoo-seo-audit/start/install/#enable-browser-measurements)

## Know which data stays local

| Data or operation           | Where it is handled                                                                                                                                                                             | How to control it                                                                                                                                                                                                                                               |
| --------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Audits and reports          | The engine processes fetched pages locally. Saved audit history, comparison data, and local schedules use the SQLite history database, `audits.db`, in `SONJOO_HOME` or `~/.sonjoo` by default. | Use separate `SONJOO_HOME` directories to isolate projects or test processes. Use `sonjoo db stats --verbose` to inspect local database files.                                                                                                                  |
| Persistent history          | A normal CLI or dashboard audit saves by default. The dashboard and MCP can retain the latest unsaved report temporarily.                                                                       | Use `--no-save` in the CLI, turn off saving in the dashboard, or set `save: false` in HTTP or MCP. Delete a saved audit with the [authenticated local API](https://sajaddehshiri.ir/sonjoo-seo-audit/features/http-api/#browse-evidence-reports-and-schedules). |
| Crawl artifacts and exports | Standalone crawl snapshots, explicit report files, and link check caches are separate from the saved audit entry.                                                                               | Choose output paths deliberately. An explicit `--output` still writes a file with `--no-save`; no-save also does not turn off network requests or external link caching. [Export formats](https://sajaddehshiri.ir/sonjoo-seo-audit/cli/exports/)               |
| Network requests            | A crawl fetches the authorized site and supporting resources. Selected checks can contact additional URLs for link or site evidence.                                                            | Set crawl bounds and review rules and `[external_links]` settings before running against a sensitive network or site.                                                                                                                                           |
| Shared artifacts            | JSON, HTML, Markdown and AI-readable exports can capture URLs, page excerpts, and observed evidence.                                                                                            | Review the export before publishing an artifact or giving it to an assistant. External sharing is controlled by what you do with the file or what your MCP client sends onward.                                                                                 |

## Use local trust boundaries

The dashboard and HTTP API bind to `127.0.0.1`. API requests require the active local token (or the dashboard's local session cookie), and server checks reject unexpected hosts, cross-origin browser calls, and framing. Keep connection files and tokens private. [API authentication](https://sajaddehshiri.ir/sonjoo-seo-audit/api/authentication/) · [Local API limits](https://sajaddehshiri.ir/sonjoo-seo-audit/features/http-api/)

The stdio MCP process serves the client that launches it. The default destination policy permits public networks. A narrowly allowed local host can be used for an authorized fixture. Broader private access and MCP browser rendering require a deliberate policy change. [MCP network scope](https://sajaddehshiri.ir/sonjoo-seo-audit/ai/mcp/#local-urls-and-browser-rendering)

Fetched content and report evidence come from the audited site. Treat page text, links, and embedded instructions as untrusted, especially when sharing reports with AI assistants. Report a security problem privately through the [Sonjoo security policy](https://github.com/sajaddp/sonjoo-seo-audit/security/policy).
