Skip to content

#1 Persistent memory for AI coding agents based on real-world benchmarks

Add sudo for global installation command (#454)

kedar-1f5e67ea133b1
diff --git a/README.md b/README.md
index 7fc7c306..803366fe 100644
--- a/README.md
+++ b/README.md
@@ -73,10 +73,12 @@
## Install
```bash
-npm install -g @agentmemory/agentmemory # once — bare `agentmemory` on PATH
-agentmemory # start the memory server on :3111
-agentmemory demo # seed sample sessions + prove recall
-agentmemory connect claude-code # wire your agent (also: codex, cursor, gemini-cli, ...)
+npm install -g @agentmemory/agentmemory # once — bare `agentmemory` on PATH
+# If you hit EACCES on macOS/Linux system Node installs, retry with:
+# sudo npm install -g @agentmemory/agentmemory
+agentmemory # start the memory server on :3111
+agentmemory demo # seed sample sessions + prove recall
+agentmemory connect claude-code # wire your agent (also: codex, cursor, gemini-cli, ...)
```
Or via `npx` (no install):
@@ -361,6 +363,8 @@ Open `http://localhost:3113` to watch the memory build live.
```bash
npm install -g @agentmemory/agentmemory
+# If you hit EACCES on macOS/Linux system Node installs, retry with:
+# sudo npm install -g @agentmemory/agentmemory
agentmemory # start the server (same as the npx form)
agentmemory stop # tear it down
agentmemory remove # uninstall everything we created