Windows
On Windows x64, you can create plugins, validate and package them, and run mndw dev for plugins without a backend. You can also build an upload ZIP for a plugin with a backend:
sh
npx mndw create hello-widget
npx mndw dev hello-widget
npx mndw validate hello-widget
npx mndw pack hello-widget
npx mndw zip hello-widgetmndw zip reads backend command paths from the manifest and marks those files 0755 in the ZIP. The archive therefore keeps backend commands executable when you create it on Windows and upload it to the router.
Develop a plugin with a backend
On Windows, mndw dev stops before starting a plugin backend and prints:
mndw dev: plugins with a backend need WSL on Windows. Open a WSL terminal and run mndw dev there.
Use WSL for backend development:
- Install WSL and a Linux distribution.
- Install Node.js and your package manager inside that distribution.
- Keep the project in the WSL filesystem, such as
~/projects/my-plugins, not under/mnt/c/. - Run the same
mndwcommands from the WSL terminal. Use the router's same IP address or URL with--addr; it must be reachable from WSL.
The published daemon packages support Windows x64. Windows on ARM64 (win32/arm64) is not supported.