Installation
npm (recommended)
npm install -g @graphmemory/server
This installs the graphmemory command globally. Requires Node.js >= 22.
npx (no install)
npx @graphmemory/server serve
Downloads and runs without permanent installation.
Docker
docker run -d \
--name graph-memory \
-p 3000:3000 \
-v $(pwd):/data/projects/my-project:ro \
-v graph-memory-models:/data/models \
ghcr.io/graph-memory/graphmemory-server
See Docker for full Docker and Docker Compose setup.
From source
git clone https://github.com/graph-memory/graphmemory.git
cd graphmemory
npm install
npm run build
node dist/cli/index.js serve
First startup
On first run, Graph Memory downloads the default embedding model (Xenova/bge-m3, ~560 MB). This is cached at ~/.graph-memory/models/ and reused on subsequent starts.
System requirements
- Node.js >= 22
- Disk: ~560 MB for the default embedding model + graph storage
- RAM: ~500 MB during indexing (depends on project size)
- OS: macOS, Linux, Windows (via WSL or native)