Configure
Updates
Update MemIndex with one command. It keeps your settings, your notes and your choice of note writer.
Update
npx memindex@latest update
Use @latest so npx fetches the newest release instead of a cached copy. The update runs the installer again without questions: it keeps the note writer you saved and keeps your choice of memory on this computer or on hosting. It runs the same steps as the installer, including starting the background service.
If you saved Gemini or OpenRouter as your note writer, the key must still be set, or an update with no terminal stops with an error.
After an update, restart your agents so they load the new plugin, and start a fresh session. Doctor warns when the running service and the command you ran are different releases:
npx memindex doctor
Repair
If doctor reports missing files or tools, repair rebuilds them without touching your settings or integrations:
npx memindex repair
npx memindex doctor
Repair can download supporting tools.
Tidy up old copies
Older plugin copies can stay in the cache after an update. To clear the superseded ones:
npx memindex prune --dry-run
npx memindex prune
It keeps the newest two copies, the one a running service uses, and the one that is registered. --keep <n> changes how many.
Remove MemIndex
npx memindex uninstall
This stops the service and removes the plugin and the integrations it set up. It keeps ~/.memindex, so your notes survive a reinstall. Delete that folder yourself if you want the notes gone too.