System Requirements
Minimum Requirements
- Node.js 18.0.0 or higher
- Claude Code desktop application
- 100MB free disk space
- Read/write access to home directory
Recommended Setup
- Bun runtime (3x faster than npm)
- macOS or Linux (better hook support)
- Git for version control
- SSD for optimal performance
Platform-Specific Installation
Building From Source
1
Clone the repository
2
git clone https://github.com/thedotmack/claude-mem.git
cd claude-mem
3
Install dependencies
4
5
Build the project
6
bun run build
# or: npm run build
7
Link globally
8
bun link
# or: npm link
9
Install integration
10
claude-mem install
Custom Installation Options
Custom Directory
Install to a non-default location:Save on Clear
Enable automatic memory compression on/clear
:
Force Reinstall
Overwrite existing installation:Verbose Output
Debug installation process:Docker Installation
For containerized environments:Enterprise Installation
Behind Corporate Proxy
Custom NPM Registry
Shared Installation
For multi-user systems:File Structure Details
Complete installation creates:MCP Server Configuration
Manual MCP Setup
If automatic setup fails, add to Claude Code settings:Alternative MCP Configuration
Using local installation:Hook Customization
Custom Hook Directory
Disable Specific Hooks
Custom Hook Scripts
Create~/.claude-mem/hooks/custom.js
:
Troubleshooting
Installation Failures
EACCES: permission denied
EACCES: permission denied
Command not found after install
Command not found after install
Hooks not triggering
Hooks not triggering
- Check Claude Code version (must be recent)
- Verify hook files exist:
- Check hook permissions:
- Review logs:
MCP server connection failed
MCP server connection failed
Database corruption
Database corruption
Performance Issues
Slow memory loading
Slow memory loading
High disk usage
High disk usage
Migration & Backup
Backup Your Memories
Restore From Backup
Migrate Between Machines
Environment Variables
Uninstalling Completely
Getting Help
Most users never need this page. The simple installation just works. 🧠