Skip to content
Installation

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

Fastest

Works on Linux, macOS, and Windows. No git clone needed.

terminal
$ npm install -g @fmarzochi/egc
$ egc install

What the installer does

1

Compiles MCP servers

Builds egc-guardian and egc-memory from TypeScript source.

2

Initializes the database

Creates the local SQLite database at ~/.egc/ for persistent memory.

3

Cognitive bootstrap

Writes the memory protocol into the global instruction files for each detected tool (CLAUDE.md, GEMINI.md, cursor.rules, etc.).

4

Registers MCP servers

Adds both servers to every detected tool's MCP config. Runs once per tool, idempotent.

5

Prompt library (optional)

Asks whether to install 228 skills, 74 commands, and 62 agents. Skipped automatically in CI.

Expected output

terminal
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.

Next steps