Skip to main content

Before you start

You need Node.js version 18 or later, which includes npm. Mochiii has builds for:

Install

npm installs the mochiii package and the one platform package that matches your computer. Check that it worked:

Start it in a project

Go to a project folder and run:
Mochiii works on the folder it starts in. If you start it in your home folder, it prints a note saying that is not a project folder, and never offers to index it.

First run in a folder

Before the chat opens, Mochiii offers to download its code-search model, once for your computer, and to index the folder:
  • Y, or Enter, builds the index.
  • n skips it. Mochiii asks again next time.
  • never skips it, and Mochiii does not ask again for that folder.
Options for this step: Mochiii also needs a model before it can answer. If you ask a question before one is set up, it asks you to paste a provider API key.

Update

Stop and remove

Mochiii runs a background service for each project folder you use it in. In each folder you used, run:
Then remove the package:

If it does not start

If mochiii says the package for your computer is not installed, run npm install -g mochiii again. The mochiii package depends on a separate package for each platform, and your install is missing the one for your computer.