Skip to main content

Binary Installation

Download from GitHub Releases

Download the latest release for your platform from GitHub Releases.

Linux (x86_64)

curl -LO https://github.com/fab679/graphmind/releases/download/v0.7.0-beta/graphmind-v0.7.0-beta-x86_64-unknown-linux-gnu.tar.gz
tar xzf graphmind-v0.7.0-beta-x86_64-unknown-linux-gnu.tar.gz
sudo install -m 755 graphmind /usr/local/bin/graphmind

macOS (Apple Silicon)

curl -LO https://github.com/fab679/graphmind/releases/download/v0.7.0-beta/graphmind-v0.7.0-beta-aarch64-apple-darwin.tar.gz
tar xzf graphmind-v0.7.0-beta-aarch64-apple-darwin.tar.gz
sudo install -m 755 graphmind /usr/local/bin/graphmind

macOS (Intel)

curl -LO https://github.com/fab679/graphmind/releases/download/v0.7.0-beta/graphmind-v0.7.0-beta-x86_64-apple-darwin.tar.gz
tar xzf graphmind-v0.7.0-beta-x86_64-apple-darwin.tar.gz
sudo install -m 755 graphmind /usr/local/bin/graphmind

Windows (x86_64)

Download and extract the zip from GitHub Releases, then add the graphmind.exe to your PATH.

What's in the archive

The tarball/zip contains:

FileDescription
graphmindThe database binary
config.tomlExample configuration file
install.shAutomated install script (Linux/macOS)
graphmind.servicesystemd service file for Linux
LICENSEApache 2.0 license
README.mdQuick start guide

Quick install script

You can also use the included install script:

# After extracting the archive
chmod +x install.sh
sudo ./install.sh

This installs the binary to /usr/local/bin/, creates config at /etc/graphmind/, and optionally sets up the systemd service.

Install with Cargo

If you have Rust installed:

cargo install graphmind

This compiles from source and installs the graphmind binary into ~/.cargo/bin/.

Prerequisites for Cargo Install

Graphmind depends on RocksDB, which requires a C++ compiler and CMake:

# Ubuntu/Debian
sudo apt-get install -y clang libclang-dev cmake

# macOS
brew install cmake llvm

# Fedora
sudo dnf install clang clang-devel cmake

Verify Installation

graphmind --version
# graphmind 0.7.0

Run the Server

# Start with defaults (RESP on :6379, HTTP on :8080)
graphmind

# Custom ports
graphmind --port 16379 --http-port 18080

# With a config file
graphmind --config /etc/graphmind/graphmind.toml

# With demo data
graphmind --demo social

CLI Flags

FlagDescriptionDefault
--config <path>Path to TOML config filegraphmind.toml
--host <addr>Bind address127.0.0.1
--port <port>RESP server port6379
--http-port <port>HTTP server port8080
--data-dir <path>Data storage directory./graphmind_data
--log-level <level>Log levelinfo
--demo <mode>Load demo data (social or large)(none)

See Configuration for the full config file reference.

Connect

Once the server is running:

# Web Visualizer
open http://localhost:8080

# Redis CLI
redis-cli -p 6379
127.0.0.1:6379> GRAPH.QUERY default "MATCH (n) RETURN count(n)"

# HTTP API
curl http://localhost:8080/api/status