MeowKit

Moving from the npm CLI

Move a project from the Node mewkit CLI (npx mewkit) to the native mewkit binary.

The Node mewkit CLI is no longer maintained. It gets no new fixes and no kit support. The native mewkit binary is the only CLI, and mk is its short alias.

The project's kit does not change when you switch CLIs. .claude/ and .meowkit/ stay as they are, and mewkit upgrade moves them forward from there.

What changes

Before (npm CLI)After (native binary)
npx mewkit initmewkit init
npx mewkit <verb>mewkit <verb>, or mk <verb>
npm install -g mewkit or a project devDependencyinstall.sh (macOS, Linux) or install.ps1 (Windows)
Node.js needed to run the CLINode.js needed only for the kit's hooks
npx mewkit upgrademewkit upgrade; mewkit self-update updates the binary itself

Steps

  1. Install the binary. Follow Installation, then check that mewkit --version prints a version.

  2. Remove the npm package. Run the command that matches how you installed it:

    npm uninstall -g mewkit   # global install
    npm uninstall mewkit      # project devDependency, run in the project
  3. Check each project. From the project directory, run:

    mewkit doctor

    doctor reports the toolchain, the installs in this project and their hooks. Fix anything it flags.

  4. Update the commands you run. Replace npx mewkit with mewkit (or mk) in your shell history, package.json scripts, CI jobs and team docs.

  5. Run mewkit upgrade. It moves the kit to the current release and removes the registrations and files of the hooks that 3.0.0 retired. If your ~/.meowkit/config.yaml still has a gate1PresenceOnly line, doctor reports the file as invalid. Delete the line.

What stays the same

  • Your kit. .claude/, .meowkit/ and .meowkit/config.yaml keep working.
  • Hooks. They look for mewkit on your PATH first. A project that still has the npm CLI in node_modules/.bin keeps running that copy until you remove it.
  • Memory and state. .meowkit/memory/ and your plans and tasks are not touched.

Commands the binary does not have

The binary does not have migrate, context, explain-support, status, visual-plan, plan approve and verdict-gate. The 3.0.0 changelog lists what replaced them. For any other command, run mewkit --help.

Next steps

On this page