Installation
Pre-built native binaries for all platforms. No build tools, no compiler required.
npm (recommended)#
npm install arcflowThe SDK includes pre-built native binaries for all major platforms:
| Platform | Architecture | Binary |
|---|---|---|
| macOS | Apple Silicon (M1/M2/M3/M4) | arcflow.darwin-arm64.node |
| macOS | Intel | arcflow.darwin-x64.node |
| Linux | x64 (glibc) | arcflow.linux-x64-gnu.node |
| Linux | ARM64 (glibc) | arcflow.linux-arm64-gnu.node |
| Windows | x64 | arcflow.win32-x64-msvc.node |
pnpm / yarn#
pnpm add arcflow
# or
yarn add arcflowLocal development (from source)#
If you hold a source license and are building from the engine source:
# Build and link the native module per the source license build guide
npm run build
npm installSee the source license build guide for platform-specific instructions.
Verify installation#
import { openInMemory } from 'arcflow'
const db = openInMemory()
db.mutate("CREATE (n:Hello {message: 'It works!'})")
const result = db.query("MATCH (n:Hello) RETURN n.message")
console.log(result.rows[0].get('message')) // "It works!"
db.close()Environment variables#
| Variable | Default | Description |
|---|---|---|
ARCFLOW_METAL_FORCE_UNAVAILABLE | false | Set to true to disable Metal GPU acceleration (useful if module load hangs) |
Requirements#
- Node.js 18+ (LTS recommended)
- No native build tools needed — pre-built binaries are included
See Also#
- Quickstart — first query in under 5 minutes
- Project Setup — world model workspace layout and configuration
- Language Bindings — Node.js, Python, Rust, Go, WASM, and CLI
Try it
Open ↗⌘↵ to run
Loading engine…