docs: Add marketplace installation instructions to README
Updates Installation section with: - Method 1: Claude Code Marketplace (recommended) - Simple two-command installation - Automatic dependency and hook setup - Clear explanation of what gets installed - Renumbered existing methods (Clone=2, NPM=3) Users can now easily install via: /plugin marketplace add thedotmack/claude-mem /plugin install claude-mem 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -184,7 +184,27 @@ SQLite database (`${CLAUDE_PLUGIN_ROOT}/data/claude-mem.db`) with tables:
|
|||||||
node --version # Should be >= 18.0.0
|
node --version # Should be >= 18.0.0
|
||||||
```
|
```
|
||||||
|
|
||||||
### Method 1: Clone and Build (Recommended for Development)
|
### Method 1: Claude Code Marketplace (Recommended)
|
||||||
|
|
||||||
|
Install directly from Claude Code using the plugin marketplace:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
# Add the marketplace
|
||||||
|
/plugin marketplace add thedotmack/claude-mem
|
||||||
|
|
||||||
|
# Install the plugin
|
||||||
|
/plugin install claude-mem
|
||||||
|
```
|
||||||
|
|
||||||
|
The plugin will:
|
||||||
|
- Automatically install all dependencies (including PM2)
|
||||||
|
- Configure hooks for session lifecycle management
|
||||||
|
- Set up the MCP search server
|
||||||
|
- Auto-start the worker service on first session
|
||||||
|
|
||||||
|
**That's it!** The plugin is ready to use. Start a new Claude Code session and you'll see context from previous sessions automatically loaded.
|
||||||
|
|
||||||
|
### Method 2: Clone and Build (For Development)
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
# Clone the repository
|
# Clone the repository
|
||||||
@@ -205,7 +225,7 @@ npm run worker:start
|
|||||||
npm run worker:status
|
npm run worker:status
|
||||||
```
|
```
|
||||||
|
|
||||||
### Method 2: NPM Package (Coming Soon)
|
### Method 3: NPM Package (Coming Soon)
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
# Install from NPM (when published)
|
# Install from NPM (when published)
|
||||||
|
|||||||
Reference in New Issue
Block a user