Skip to content
NewNexus 2.0 is here, and it’s open source. Read the launch post

CLI reference

memory

Manage the local shared memory that coding agents use across sessions and worktrees.

View as Markdown

nexus memory status

nexus memory status [--json]

Show whether shared memory is on.

OptionMeaning
--jsonPrint only JSON on stdout

nexus memory enable

nexus memory enable [--json]

Turn on shared memory on this computer.

OptionMeaning
--jsonPrint only JSON on stdout
Examples
nexus memory enable

nexus memory disable

nexus memory disable [--export <path>] [--skip-export] [--repo <path>]

Turn off shared memory with a Markdown export or an explicit choice to skip it.

OptionMeaning
--export <path>Save a Markdown copy to this path before turning off shared memory
--skip-exportTurn off shared memory without exporting
--repo <path>Choose the repository whose notes to use

nexus memory list

nexus memory list [--repo <path>] [--json]

List personal and repository entries.

OptionMeaning
--repo <path>Choose the repository whose notes to use
--jsonPrint only JSON on stdout
Examples
nexus memory list --json

nexus memory add

nexus memory add <text>

Save a personal note.

nexus memory edit

nexus memory edit <id> <text> [--repo <path>]

Replace the text of an entry.

OptionMeaning
--repo <path>Choose the repository whose notes to use

nexus memory forget

nexus memory forget <id> [--repo <path>]

Delete an entry.

OptionMeaning
--repo <path>Choose the repository whose notes to use

nexus memory import

nexus memory import <claude|codex> [--repo <path>]

Import memory from the selected agent's local profiles.

OptionMeaning
--repo <path>Choose the repository whose notes to use
Examples
nexus memory import claude

nexus memory export

nexus memory export <claude|codex|markdown> [--output <path>] [--repo <path>]

Export to an agent profile or Markdown. Codex loads every repository block in every session on that profile.

OptionMeaning
--output <path>Write a Markdown export to this path
--repo <path>Choose the repository whose notes to use

Generated from the CLI's own command list (nexus help --json), version 0.45.0. nexus help and nexus <command> --help always show your installed version.