Installation
Synapses ships as a single desktop app that includes the synapses CLI. One install gives you everything — the control panel, the daemon, and the command-line interface.
Path 1: Website Download (Recommended)
Download from synapsesos.com or install via terminal:
curl -fsSL https://synapsesos.com/install.sh | shThis installs the Synapses desktop app with the CLI included.
What happens:
- Downloads the app for your platform
- Copies the CLI binary to
~/.synapses/bin/synapses - Creates a
/usr/local/bin/synapsessymlink - Adds
~/.synapses/binto your shell PATH - Launches the app for onboarding
User steps: 1 (run the command)
Path 2: Homebrew (macOS)
brew install synapsesInstalls the Synapses app to /Applications and makes the synapses CLI available.
Path 3: Direct Download (macOS)
- Download the latest
.dmgfrom GitHub Releases - Open the DMG and drag Synapses to Applications
- Launch the app — it sets up the CLI automatically
Path 4: Headless / CI (CLI only)
On systems without a GUI, the install script automatically detects headless mode:
curl -fsSL https://synapsesos.com/install.sh | shThis installs just the synapses CLI binary — no desktop app.
To force CLI-only mode even on GUI systems:
SYNAPSES_CLI_ONLY=1 curl -fsSL https://synapsesos.com/install.sh | shPath 5: From Source (Contributors)
git clone https://github.com/SynapsesOS/synapsescd synapsesgo build -o ./build/synapses ./cmd/synapses./build/synapses initSee Developer Setup for connecting a source-built binary to the desktop app.
How It Works
The Synapses app bundles the synapses Go binary inside the application package. On first launch:
- Extracts the binary to
~/.synapses/bin/synapses - Creates a symlink at
/usr/local/bin/synapses(if writable) - Adds
~/.synapses/binto your shell rc file - Starts the daemon automatically
- Registers a launch agent so the daemon starts on login
Verify Installation
synapses --versionsynapses statusIf the CLI is not found, add ~/.synapses/bin to your PATH:
export PATH="$HOME/.synapses/bin:$PATH"Corporate Networks
If GitHub is blocked, set a mirror URL:
SYNAPSES_DOWNLOAD_URL=https://internal-mirror.corp.com curl -fsSL https://synapsesos.com/install.sh | shFor CI with rate limit concerns, pass a GitHub token:
GITHUB_TOKEN=ghp_xxx curl -fsSL https://synapsesos.com/install.sh | shSystem Requirements
- OS: macOS 12+ (arm64/x86_64), Linux (glibc 2.17+, x86_64/arm64)
- Disk: ~50 MB for the app. SQLite index scales with codebase (~1 MB per 1,000 functions).
- Memory: Minimal at rest. Under 500 MB during indexing.
- Optional: Ollama for brain enrichment features.
Next Steps
Head to Quickstart to initialize your first project.