Install the CLI
Install the memorinth command on its own, without the app: the CLI, the MCP server your agents run, and the engine. One line on macOS, Linux or Windows.
On this page
The CLI is Memorinth without the window: the memorinth command, the MCP server your agents run, and the engine behind both. It’s all you need for agents to remember. If you install the app later, it uses the same cortex and the same settings.
Install
-
Run the installer for your system. It downloads the latest release, checks it against the release’s checksums, and puts
memorinthon your PATH.Windows · PowerShell
> irm https://memorinth.app/install.ps1 | iexmacOS and Linux · Terminal
$ curl -fsSL https://memorinth.app/install.sh | sh -
Open a new terminal, so it picks up the new PATH, and check it’s there:
$ memorinth --version -
Make a cortex and connect your agents. Carry on with Set up your cortex.
What it supports
| System | Builds |
|---|---|
| macOS | Apple Silicon (M1 or newer). There’s no build for Intel Macs yet. |
| Linux | x86_64 with glibc, such as Ubuntu 24.04 or Fedora 39 and newer. Not musl (Alpine) yet. |
| Windows | Windows 10 and 11, x64. |
Install a specific version
The installer takes a version, or latest:
$ curl -fsSL https://memorinth.app/install.sh | sh -s 0.8.6Update
memorinth never updates by itself. When a newer version is out, memorinth status and memorinth doctor end with a line saying so, and you install it when it suits you:
$ memorinth updateIt downloads the latest release, checks it against the release’s checksums and puts it in place of the one you have. Agent sessions that are open keep the version they started with; new sessions use the new one. memorinth update --check only says whether there is a newer version, memorinth update 0.8.6 installs that version, and memorinth update --rollback puts back the one the last update replaced.
To know about new versions, the engine asks downloads.memorinth.app which one is the latest, at most once a day. It sends nothing about you or your notes. MEMORINTH_NO_UPDATE_CHECK=1 turns the check and the notice off; memorinth update still works when you run it.
If you also have the desktop app, the app updates memorinth along with itself, so there’s no notice and nothing to run.
Downloaded the binary yourself?
If you downloaded memorinth from a release instead of running the installer, run this once. It copies memorinth to Memorinth’s own folder, where it stays put across updates, with the short alias mem beside it, and puts that folder on your PATH:
$ memorinth installPass --no-path to leave your PATH alone.
The search model
Search by meaning runs on a local model, EmbeddingGemma-300M, about 220 MB. It downloads the first time the engine needs it, and until then search uses keywords. To get it now:
$ memorinth model downloadMEMORINTH_MODEL_DIR sets where models go, and MEMORINTH_EMBEDDINGS=off turns semantic search off.
Updated