create-mushi-mushi
| Install | |
|---|---|
npm install create-mushi-mushi |
|
| Latest Version: | 0.6.8 |
| License: | MIT |
| Last Updated: | Oct 23, 2026 |
| Links: | GitHub · npm |
create-mushi-mushi
Your AI wrote it. Mushi tells you why it broke.
Add Mushi to the app you already have in one command, or scaffold a Vue, Svelte
or Node starter with --template.
One-line setup for the Mushi Mushi bug-reporting SDK: a user's report arrives as a plain-English diagnosis and a paste-ready fix in your editor.
npm create mushi-mushi
# or
pnpm create mushi-mushi
yarn create mushi-mushi
bun create mushi-mushi
What it does
- Detects your framework — Next.js, Nuxt, SvelteKit, Angular, Expo, Capacitor, plain React/Vue/Svelte, or vanilla JS.
- Picks the right SDK —
@mushi-mushi/react,@mushi-mushi/vue,@mushi-mushi/svelte,@mushi-mushi/angular,@mushi-mushi/react-native,@mushi-mushi/capacitor, or@mushi-mushi/web. - Detects your package manager — uses
npm,pnpm,yarn, orbunbased on your lockfile. - Writes env vars — framework-prefixed keys (e.g.
VITE_MUSHI_PROJECT_ID/NEXT_PUBLIC_MUSHI_API_KEY) land in.env.local. - Warns about
.gitignore— won't ship secrets if your env file isn't ignored. - Prints the provider snippet — framework-specific code to paste in.
- Sends a test report (opt-in) — closes the loop so you see your first classified bug immediately.
By default it wires Mushi into an existing project, so run it from that project's root. To start from nothing, use a starter template instead.
Starter templates
--template scaffolds a minimal starter app with Mushi already wired, instead of running the wizard:
npm create mushi-mushi -- --template vue # into ./mushi-vue-app
npm create mushi-mushi -- --template svelte my-app # into ./my-app
npm create mushi-mushi -- --template node # into ./mushi-node-app
Valid templates: vue, svelte, node. The target directory must not exist yet. Then:
cd mushi-vue-app
npm install
npx mushi-mushi # browser sign-in, writes your env vars
npm run dev # npm start for the node starter
Flags
npm create mushi-mushi -- --framework next
npm create mushi-mushi -- --project-id proj_xxx --api-key mushi_xxx
npm create mushi-mushi -- --skip-install
npm create mushi-mushi -- --skip-test-report
npm create mushi-mushi -- --cwd apps/web
npm create mushi-mushi -- --endpoint https://mushi.your-company.com
npm create mushi-mushi -- --template vue [dir]
npm create mushi-mushi -- -y
npm create mushi-mushi -- --help
npm createandpnpm createneed the--separator before flags. Yarn 1 and Bun do not.
Equivalent commands
npx mushi-mushi # shorter
npx @mushi-mushi/cli init # scoped name
Troubleshooting
- Wrong framework detected? Pass
--framework <id>explicitly. Valid IDs:next, react, vue, nuxt, svelte, sveltekit, angular, expo, react-native, capacitor, vanilla. - Running in a monorepo?
cdinto the package you want Mushi in first, or pass--cwd apps/web. npxcache serving an old version? Runnpm cache clean --forceornpx mushi-mushi@latest.- Non-interactive (CI)? Pass all of
--yes,--project-id, and--api-key. The wizard exits with a clear error otherwise. - Key pasted with quotes/whitespace? The wizard strips them, but still validates against
mushi_[A-Za-z0-9_-]{10,}/proj_[A-Za-z0-9_-]{10,}.
Security
- Credentials accepted via
--api-keyflag leak intops -ef. Prefer the interactive prompt on dev machines; on CI, pass them via the environment and an explicit--api-key "$MUSHI_API_KEY"at the boundary. - The
~/.config/mushi/config.jsoncredentials cache is written with mode0o600(owner read/write only) on Unix. Legacy~/.mushircauto-migrates on first load. - All env-file writes strip CR/LF/NUL from secrets to prevent accidental
.envinjection.
Links
License
MIT
Monorepo scale (July 2026): 71 edge functions · 493 SQL migrations · 13 outbound plugins · 11 inbound adapters · 19 pipeline agents. Canonical counts: docs/stats.md · pnpm docs-stats
Related Packages
One command adds a bug report widget to any app. The bug mediator for AI-built a...
Mushi CLI: SDK setup, MCP wiring, bug triage. The bug mediator for AI-built apps...
Bug report and user feedback widget for the web. The bug mediator for AI-built a...
Version History
| Version | Released | License |
|---|---|---|
| 0.6.8 | MIT | |
| 0.6.7 | MIT | |
| 0.6.6 | MIT | |
| 0.6.5 | MIT | |
| 0.6.4 | MIT | |
| 0.6.3 | MIT | |
| 0.6.2 | MIT | |
| 0.6.1 | MIT | |
| 0.6.0 | MIT | |
| 0.5.22 | MIT | |
| 0.5.21 | MIT | |
| 0.5.20 | MIT | |
| 0.5.19 | MIT | |
| 0.5.18 | MIT | |
| 0.5.17 | MIT | |
| 0.5.16 | MIT | |
| 0.5.15 | MIT | |
| 0.5.14 | MIT | |
| 0.5.13 | MIT | |
| 0.5.12 | MIT | |
| 0.5.11 | MIT | |
| 0.5.10 | MIT | |
| 0.5.9 | MIT | |
| 0.5.8 | MIT | |
| 0.5.7 | MIT | |
| 0.5.5 | MIT | |
| 0.5.4 | MIT | |
| 0.5.3 | MIT | |
| 0.5.2 | MIT | |
| 0.5.1 | MIT |
Showing the latest 30 of 32. See every release on npm