Installation
Install the memcode CLI in one line, plus upgrade, self-update, and build-from-source options.
Memcode is a single binary. It runs on macOS, Linux, and Windows, on amd64 and arm64. Pick whichever install path fits your setup.
Install script
curl -fsSL https://memcode.ai/install.sh | shThis downloads the right build for your platform and puts memcode on your PATH. The first time you run it in a terminal, it offers a short setup wizard.
With Go
go install github.com/memcode-ai/memcode@latestFrom source
git clone https://github.com/memcode-ai/memcode
cd memcode
go build -o memcode .Verify the install
memcode versionmemcode --version prints the same thing. A cached daily check tells you when a
newer build is available.
Upgrading
Memcode updates itself in the background once a day. To turn that off, set
MEMCODE_AUTO_UPDATE=off.
To update on demand, run:
memcode upgradeIt downloads the new build, checks it, and replaces the binary. Add --check to
only see whether an update is available. memcode update does the same thing.
Open source
The CLI, agent, and memory are open source under MIT; the whole client is in the repository. Run it against your own API keys or a local endpoint like Ollama with no memcode account at all; a hosted account just adds one balance across vendors, a BYOK vault, and team features.