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 init | mewkit init |
npx mewkit <verb> | mewkit <verb>, or mk <verb> |
npm install -g mewkit or a project devDependency | install.sh (macOS, Linux) or install.ps1 (Windows) |
| Node.js needed to run the CLI | Node.js needed only for the kit's hooks |
npx mewkit upgrade | mewkit upgrade; mewkit self-update updates the binary itself |
Steps
-
Install the binary. Follow Installation, then check that
mewkit --versionprints a version. -
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 -
Check each project. From the project directory, run:
mewkit doctordoctorreports the toolchain, the installs in this project and their hooks. Fix anything it flags. -
Update the commands you run. Replace
npx mewkitwithmewkit(ormk) in your shell history,package.jsonscripts, CI jobs and team docs. -
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.yamlstill has agate1PresenceOnlyline,doctorreports the file as invalid. Delete the line.
What stays the same
- Your kit.
.claude/,.meowkit/and.meowkit/config.yamlkeep working. - Hooks. They look for
mewkiton your PATH first. A project that still has the npm CLI innode_modules/.binkeeps 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
- Installation: install options and flags for the binary
- Cheatsheet: the common commands in one place