Skip to content

user guide installation

github-actions[bot] edited this page Nov 9, 2026 · 53 revisions

Installation and PATH

How to install Solomon and ensure solomon is on your shell PATH.

Requirements

  • Go 1.27.3+ (go.mod)
  • Node.js 22+ and npm for the native CloakBrowser fallback (the standard installer ensures them)
  • Network access for go install or the install script
  • Desktop runtime: WebView2 on Windows; GTK3 and WebKit2GTK 4.1 on Linux. macOS uses the system WebKit runtime. On Ubuntu/Debian, install the Linux runtime with sudo apt install libgtk-3-0 libwebkit2gtk-4.1-0.

The standard installer also installs the official CloakBrowser npm wrapper and its public browser build under ~/.solomon/cloakbrowser (roughly a few hundred megabytes), adds the no-key Exa and Parallel internal entries to ~/.solomon/mcp.json, and defaults web_search_engine to internal. It also persists the stable server port in config.toml, taking SOLOMON_SERVER_PORT (or a project .env value) when provided. No API key is required. A manual go install only installs Solomon; run the following separately if you want the internal web backend:

mkdir -p "$HOME/.solomon/cloakbrowser"
cd "$HOME/.solomon/cloakbrowser"
npm install --ignore-scripts --no-audit --no-fund cloakbrowser playwright-core
CLOAKBROWSER_CACHE_DIR="$PWD/cache" npx --no-install cloakbrowser install

Install script (recommended)

Installs Go 1.27.3+ and Node.js 22+ if needed, ensures make is available, configures your shell PATH, installs Solomon, and provisions the official CloakBrowser fallback.

On macOS, missing Node.js/npm and make are installed through Homebrew. At the start of every macOS installation, the installer detects Homebrew in the standard Apple Silicon and Intel locations, or runs its official installer if missing, even when the other dependencies are already available. Homebrew may require administrator credentials and Xcode Command Line Tools; if its setup fails, resolve the reported error and rerun the Solomon installer. The installed Node runtime is added to the current and future shell PATH without forcing links or using MacPorts.

macOS / Linux:

curl -fsSL https://raw.githubusercontent.com/SAPPHIR3-ROS3/Solomon/main/scripts/install.sh | bash

From a clone: ./scripts/install.sh

Windows (PowerShell):

irm https://raw.githubusercontent.com/SAPPHIR3-ROS3/Solomon/main/scripts/install.ps1 | iex

From a clone: powershell -ExecutionPolicy Bypass -File .\scripts\install.ps1

The online installer sets the execution policy bypass automatically for the current PowerShell process; it does not change the user or machine policy. For a local script, use the -ExecutionPolicy Bypass -File command above: a blocked .ps1 cannot change its own policy before it starts. The installer refreshes the current process PATH after installing GNU Make, so installation continues in the same terminal.

On Windows, the installer extends the npm wrapper's fixed browser download timeout to 60 minutes per server and retries a failed browser installation up to three times. This changes only the installed wrapper's download timeout; its integrity checks and extraction remain in place. If installation still fails, check the connection and rerun the same install command. Already prepared dependencies are reused.

Installers print the current installation stage. On failure, they report the stage, operation, command/location, original error or exit code, and suggested next checks. External tools keep their original output visible: for example, a download timeout, an HTTP error, a checksum mismatch and a permission error are reported separately. Keep the output immediately before the final [install] FAILED message when reporting an installation problem.

Reload the terminal, then run solomon version.

All installation methods produce the same CLI and native desktop application. The first normal CLI launch (including solomon version, solomon init, or solomon desktop) downloads the desktop asset for the CLI's release and CPU, checks its checksum, and registers it with the OS. Standard installers perform this step automatically through solomon init; go install users need only run Solomon normally. No separate GUI installation command is required.

Windows gets a Start menu entry and an Installed apps registration. Linux gets an application menu entry and icon. macOS gets ~/Applications/Solomon.app registered with Launch Services. solomon desktop opens the native GUI and starts its local server automatically.

Subsequent launches use the installed GUI without network access. Updating the CLI to another release refreshes the GUI on its next launch. Development builds reuse an existing local GUI, or resolve the latest release when missing. Help and internal server/worker processes do not trigger installation.

solomon desktop install [release-tag] remains available to reinstall manually. From a checkout, make desktop-install builds and installs the local GUI through the same coordinated runtime handoff as make hot-install on all three platforms.

go install (manual)

go install github.com/SAPPHIR3-ROS3/Solomon/v2026/cmd/solomon@latest

Pin a release tag: @v2026.527.2

If solomon is not found after install, the binary is in $(go env GOBIN) when GOBIN is set, otherwise $(go env GOPATH)/bin — see Binary location below.

Build from a clone

git clone https://github.com/SAPPHIR3-ROS3/Solomon.git
cd Solomon
make build

Produces ./solomon (Unix/macOS) or ./solomon.exe (Windows). Release workflow and CI checks: Building and releases.

For GUI development from a clone, make hot-install verifies the locked npm dependencies for gui and installs them when they are missing or incomplete. It prepares the CLI, native desktop and dependencies before stopping the server, then verifies the replacement and reopens native clients. It preserves the prior server mode and port on all platforms, or uses development mode for a first installation. Failed deployment restores the previous installation. To run only that dependency check, use make gui-deps.

Use solomon upgrade to update an active release installation. Standalone release installers require Solomon to be closed; they do not replace files underneath active clients. Downloads require a matching release checksum.

Updates from the app, solomon upgrade, /upgrade, and startup autoupdate use precompiled release binaries; they do not need Go to be installed or upgraded. For split installations, the coordinator verifies both CLI and desktop before stopping clients, then restores both if deployment or restart fails. The Go requirement above applies when building from source and to the installer setup.

Verify install

solomon version

Binary location

go install places the binary in $(go env GOBIN) when GOBIN is set; otherwise it uses $(go env GOPATH)/bin — by default ~/go/bin on macOS and Linux, and %USERPROFILE%\go\bin on Windows. Go does not add this directory to your PATH automatically.

Check that the binary exists:

# macOS / Linux
ls "$(go env GOPATH)/bin/solomon"
# Windows (PowerShell)
Test-Path "$(go env GOPATH)\bin\solomon.exe"

If the file is there but solomon is not found, configure PATH below.

macOS / Linux

zsh (default on macOS) — add to ~/.zshrc:

export PATH="$PATH:$(go env GOPATH)/bin"

Or append in one step:

echo 'export PATH="$PATH:$(go env GOPATH)/bin"' >> ~/.zshrc
source ~/.zshrc

bash — add to ~/.bashrc:

export PATH="$PATH:$(go env GOPATH)/bin"

Or append in one step:

echo 'export PATH="$PATH:$(go env GOPATH)/bin"' >> ~/.bashrc
source ~/.bashrc

fish — add to ~/.config/fish/config.fish:

fish_add_path (go env GOPATH)/bin

Verify: which solomon then solomon version.

Windows

PowerShell profile — add to $PROFILE (run notepad $PROFILE if the file does not exist yet):

$env:Path += ";$(go env GOPATH)\bin"

Current session only (PowerShell):

$env:Path += ";$(go env GOPATH)\bin"

Permanent user PATH (PowerShell, no profile file):

[Environment]::SetEnvironmentVariable("Path", $env:Path + ";$(go env GOPATH)\bin", "User")

Restart the terminal, then run solomon version.

Alternative: set GOBIN

If you already have a directory on your PATH (e.g. ~/.local/bin on macOS/Linux), you can tell Go to install binaries there instead:

go env -w GOBIN="$HOME/.local/bin"
go install github.com/SAPPHIR3-ROS3/Solomon/v2026/cmd/solomon@latest

On Windows, use a path already on your PATH (e.g. %USERPROFILE%\.local\bin) and set GOBIN accordingly before re-running go install.

See also

Clone this wiki locally