Docs / Install codemem
setup

Install codemem

Install codemem for Claude Code or OpenCode, verify it quickly, and get into real work without a long setup detour.

Verify it quickly

First check that the local viewer is up:

http://localhost:38888
If the viewer opens, the normal plugin path is working. The CLI is for manual commands and shell workflows, not a requirement for normal plugin use.

Need a manual check?

If you want to inspect things from the shell, use whichever command form matches your setup:

# if codemem is on your PATH
codemem stats
codemem db raw-events-status

# if you did not install the CLI globally
npx -y codemem stats
npx -y codemem db raw-events-status

Need the CLI on your path?

If you want repeated manual checks, local commands, or shell workflows, install the CLI separately:

npm install -g codemem
The CLI is optional in both OpenCode and Claude Code. Install it if you want shell access, not because the plugin path requires it.

System prerequisites

Install Node.js 24+ and npm first, then use the same Claude Code or OpenCode path.

node --version
npm --version

Repository / source path

If you want to inspect the source first or work from a checkout, clone the repository and follow the repo-specific setup.

git clone https://github.com/kunickiaj/codemem
cd codemem
# follow the repo-specific development setup

Need more?

For broader setup details, implementation notes, and current project instructions, head to the repository and the rest of the docs.