Windows Configuration Guide ​
This guide helps Windows users set up and use LimbicDB.
Prerequisites ​
1. Install Node.js 20+ ​
- Download from: https://nodejs.org
- Choose Windows Installer (.msi)
- During installation, ensure "Add to PATH" is checked
- Verify installation:powershell
node --version npm --version
2. (If needed) Visual Studio Build Tools ​
If you encounter errors during npm install about native modules:
- Download from: https://visualstudio.microsoft.com/downloads/
- Install "Desktop development with C++" workload
- This provides the C++ compiler needed for
better-sqlite3
Installation ​
Global Installation (Recommended) ​
powershell
npm install -g limbicdbVerify Installation ​
powershell
limbicdb --help
# or
limbicdbBasic Usage ​
Remember a Memory ​
powershell
limbicdb remember "This is my first memory"Recall Memories ​
powershell
limbicdb recall "first"List Sessions ​
powershell
limbicdb sessionsExport Memories ​
powershell
limbicdb export > memories.jsonlImport Memories ​
powershell
limbicdb import < memories.jsonlCommon Issues ​
Issue: limbicdb command not found ​
Solution: Add npm global binaries to PATH
powershell
# Find npm global directory
npm config get prefix
# Add to PATH (replace with your actual path)
$env:Path += ";C:\Users\YourName\AppData\Roaming\npm"
# Make it permanent
[Environment]::SetEnvironmentVariable("Path", $env:Path + ";C:\Users\YourName\AppData\Roaming\npm", "User")Issue: better-sqlite3 installation fails ​
Symptoms:
Error: Could not locate the bindings fileSolutions:
Install Build Tools (see Prerequisites above)
Or use prebuilt binaries:
powershellnpm install --build-from-source=better-sqlite3Or try WSL (Windows Subsystem for Linux):
powershellwsl # Then follow Linux installation instructions
Issue: PowerShell execution policy blocks scripts ​
Solution:
powershell
# Allow script execution for current user
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUserIssue: Path too long errors ​
Symptoms:
Error: ENOENT: no such file or directorySolution: Enable long paths in Windows
- Open Registry Editor (
regedit) - Navigate to:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\FileSystem - Set
LongPathsEnabledto1 - Reboot
Using with OpenClaw ​
1. Install OpenClaw for Windows ​
Follow OpenClaw's Windows installation guide.
2. Configure LimbicDB Adapter ​
In your OpenClaw configuration:
json
{
"plugins": {
"limbicdb": {
"enabled": true,
"path": "C:\\Users\\YourName\\.limbicdb"
}
}
}3. Test Integration ​
Start a new OpenClaw session and try:
Remember that I prefer TypeScript over JavaScriptThen start a new session and ask:
What programming language do I prefer?PowerShell Tips ​
Create a Function for Quick Access ​
Add to your PowerShell profile ($PROFILE):
powershell
function limbic-remember {
param([string]$text)
limbicdb remember $text
}
function limbic-recall {
param([string]$query)
limbicdb recall $query
}Then use:
powershell
limbic-remember "My important note"
limbic-recall "important"File Locations ​
| Item | Default Location |
|---|---|
| Database | ./agent.limbic (current directory) |
| Global config | %APPDATA%\npm\node_modules\limbicdb |
| User data | C:\Users\YourName\.limbicdb |
Next Steps ​
- Read the main README.md for full documentation
- Check examples/ for usage examples
- Join our community to share feedback
Need Help? ​
- Check TROUBLESHOOTING.md
- Open an issue on GitHub
- Ask in our community channels