Getting Started
Installation
Install EGC once and it works across every AI coding tool you already use.
Requirements
| Requirement | Version | Check |
|---|---|---|
| Node.js | 18+ | node --version |
| Git | any | git --version |
| OS | Linux, macOS, Windows |
Choose your method
Works on Linux, macOS, and Windows. No git clone needed.
$ npm install -g @fmarzochi/egc
$ egc install What the installer does
Compiles MCP servers
Builds egc-guardian and egc-memory from TypeScript source.
Initializes the database
Creates the local SQLite database at ~/.egc/ for persistent memory.
Cognitive bootstrap
Writes the memory protocol into the global instruction files for each detected tool (CLAUDE.md, GEMINI.md, cursor.rules, etc.).
Registers MCP servers
Adds both servers to every detected tool's MCP config. Runs once per tool, idempotent.
Prompt library (optional)
Asks whether to install 228 skills, 74 commands, and 62 agents. Skipped automatically in CI.
Expected output
EGC install
node v22.0.0
building egc-guardian...
building egc-memory...
initializing database...
bootstrapping cognitive protocol...
✓ ~/.claude/CLAUDE.md updated
✓ ~/.gemini/GEMINI.md updated
registering MCP servers...
✓ registered in Antigravity CLI
✓ registered in Claude Code (global)
✓ registered in Cursor
Install prompt library? (62 agents, 228 skills, 74 commands) [y/N]:
Installation complete.
Run 'egc doctor' to verify. Verify the installation
$ egc doctor
egc-guardian running
egc-memory running
database ok
claude code registered
cursor registered If a tool shows not found, it either isn't installed or wasn't detected. You can re-run sh install.sh after installing the tool.