Skip to content

Installation

Moka needs Node.js 20+ (or Docker). Pick the style that suits you:

Terminal window
npx @mokalabs/sandbox

Always runs the latest version. Great for trying things out.

PathContents
./moka.jsonUsed if present in the current folder (commit it!)
~/.moka/config.jsonDefault config when there’s no moka.json
~/.moka/sessions/Chat history, one JSON file per chat

Override the data directory with MOKA_HOME. See environment variables.

npx @mokalabs/sandbox always fetches the latest release. For global installs run npm install -g @mokalabs/sandbox@latest. Your config and chats are kept.