# Install Sonjoo

> Install the Sonjoo dashboard on macOS, Windows, or Linux, or build the CLI and local MCP server from source.

Canonical documentation: <https://sajaddehshiri.ir/sonjoo-seo-audit/start/install/>

The Sonjoo dashboard runs locally in your browser. Download the package for your platform from [GitHub Releases](https://github.com/sajaddp/sonjoo-seo-audit/releases). Desktop installers include the Sonjoo CLI and the local MCP server.

## Build and verify the CLI

The executable includes the CLI, local dashboard, and [stdio MCP server](https://sajaddehshiri.ir/sonjoo-seo-audit/ai/mcp/). Install Git, [stable Rust with Cargo](https://rustup.rs/), and the platform C toolchain.

* **macOS.** Run `xcode-select --install` if the Xcode command-line tools are missing.
* **Ubuntu or Debian.** Install the `build-essential` package for the C compiler and linker.
* **Windows.** Install the [Rust MSVC prerequisites](https://rust-lang.github.io/rustup/installation/windows-msvc.html), including the Visual C++ build tools and Windows SDK, and run the commands in PowerShell.

```sh
git clone https://github.com/sajaddp/sonjoo-seo-audit.git
cd sonjoo-seo-audit
cargo install --locked --path .
```

### Check your installation


```sh
sonjoo --version
sonjoo --help
sonjoo self doctor
```

`sonjoo self doctor` reports the engine version, history database location, embedded dashboard, and whether Sonjoo found Chromium.

If your shell cannot find `sonjoo`, add Cargo's binary directory to `PATH`. The default is `$HOME/.cargo/bin` on macOS and Linux and `%USERPROFILE%\.cargo\bin` on Windows. If you use `CARGO_INSTALL_ROOT`, look for `bin` under that directory.

## Desktop installers and portable CLI packages

Download the installer or portable CLI for your platform from [GitHub Releases](https://github.com/sajaddp/sonjoo-seo-audit/releases). Release packages run without Rust or Cargo. Check the SHA-256 of your download against `SHA256SUMS` from the same release before installing or running it.

* **macOS on Apple silicon.** Open the DMG and drag **Sonjoo** into **Applications**. Open **Applications** in Finder and double-click **Sonjoo** there. Use `/Applications/Sonjoo.app/Contents/Helpers/sonjoo --version` to check the CLI inside the installed app. See [what to do if macOS blocks the first launch](https://sajaddehshiri.ir/sonjoo-seo-audit/start/install/#if-macos-blocks-the-first-launch).
* **Windows x64.** Open the unsigned MSI, finish the setup, and choose **Sonjoo** from the Start menu. The MSI also installs the CLI at `%LOCALAPPDATA%\Programs\Sonjoo\sonjoo.exe`.
* **Linux x64.** On Ubuntu 22.04, 24.04, or 26.04, or on Debian 12, open the DEB with your package installer. You can also run `sudo apt install ./sonjoo-vX.Y.Z-x86_64-unknown-linux-gnu.deb` with the downloaded filename. Open **Sonjoo** from the application menu.

On macOS and Linux, extract the verified portable archive and run the executable with `--version`. Add the directory containing the executable to `PATH` for shell use. [Platform checksum commands and release packaging](https://github.com/sajaddp/sonjoo-seo-audit/blob/main/docs/RELEASING.md#download-and-run)

### If macOS blocks the first launch

Apple has not notarized Sonjoo. Use the steps below only if the alert is about an unverified developer or Apple being unable to check the app for malicious software. Confirm that you downloaded the DMG from the [official Sonjoo release on GitHub](https://github.com/sajaddp/sonjoo-seo-audit/releases) and that its SHA-256 matches the entry for the exact filename in `SHA256SUMS` from that release.

1. Drag **Sonjoo** from the DMG into **Applications**. Open **Applications** in Finder and double-click **Sonjoo** there before opening System Settings.
2. Go to **System Settings → Privacy & Security → Security**. On macOS 11 or 12, go to **System Preferences → Security & Privacy → General**.
3. Find the notice for Sonjoo and choose **Open Anyway** if offered. Select **Open** in the confirmation prompt and authenticate if prompted. [Apple's guide to first-launch alerts](https://support.apple.com/en-us/102445)

For a damaged-app alert, leave that copy closed. Download a fresh DMG from the official release and verify its checksum. If macOS reports malware or says Sonjoo will damage your computer, stop and leave it blocked. Follow the [private reporting instructions](https://github.com/sajaddp/sonjoo-seo-audit/security/policy) if a verified release file triggers either warning.

If **Open Anyway** is unavailable for an unverified developer or notarization alert, or you prefer the CLI, download the Apple-silicon `.tar.gz` from GitHub Releases and verify its checksum. Extract it and run `./sonjoo audit https://example.com/ --no-save` from the extracted folder if macOS allows the executable to run. Replace the example URL with a site you have permission to audit. Use `./sonjoo desktop` to open the dashboard from Terminal. You can also [build the Mac app and DMG from the release source](https://github.com/sajaddp/sonjoo-seo-audit/blob/main/docs/RELEASING.md#build-the-macos-app-and-dmg-from-source).

## Enable browser measurements

A regular audit works without Chromium. For rendered-page checks and lab measurements, install Chromium or Chrome. If Doctor cannot find it, set `SONJOO_CHROMIUM` to the full path of the executable before starting Sonjoo. In PowerShell, set it with `$env:SONJOO_CHROMIUM = 'C:\path\to\chrome.exe'`. Run Doctor again to check the path.

Run an audit with `--render` or enable **Render with Chromium** in the dashboard when you need rendered content and lab measurements. See [what an unmeasured rule means](https://sajaddehshiri.ir/sonjoo-seo-audit/guides/reports-and-coverage/#why-was-a-rule-not-measured).

## Open the dashboard

Run `sonjoo desktop` to open the dashboard in your browser. If your browser does not open, run `sonjoo desktop status` to find its local URL. For a server controlled by the current terminal, run `sonjoo serve --no-open --port 7360` and open `http://127.0.0.1:7360/` on the same machine.

Continue to [Run your first audit](https://sajaddehshiri.ir/sonjoo-seo-audit/start/first-audit/) or [troubleshoot installation and startup](https://sajaddehshiri.ir/sonjoo-seo-audit/resources/troubleshooting/).
