Claude Code Memory Documentation
Anthropic's official documentation on Claude Code memory — enterprise, project, and user CLAUDE.md locations, the @import syntax, lookup precedence, and quick-add shortcuts.
How to Install CLAUDE.md
- Copy the CLAUDE.md content using the button below
- Create or edit CLAUDE.md in your project root directory
- Paste the CLAUDE.md content into the file
- Claude Code will use these instructions for your project configurations
The reference page for how CLAUDE.md actually works: the memory hierarchy (enterprise policy → project `./CLAUDE.md` → user `~/.claude/CLAUDE.md`), how files are discovered recursively up and down the tree, and the `@path/to/file` import syntax with its depth limits.
Read it to answer the practical questions — which file wins on conflict, how to share team memory through git while keeping personal preferences local, and how `/memory` and `#` edit memory from inside a session.Categories:
Ad