I am running n8n using node with command npx n8n on my local windows machine. When i try to install community node from the settings menu, i am running into error Error loading package “n8n-nodes-mcp” :Command failed: rm -rf C:\Users\anothervm.n8n\nodes/node_modules/n8n-nodes-mcp ‘rm’ is not recognized as an internal or external command, operable program or batch file.
it’s trying to run " rm -rf" which is a UNIX command, not windows, you can use wsl in windows to get a ubuntu machine, and try run it again.
Personally though I would keep env separate from personal / local machine and suggest dockers, and u can install via the GUI community nodes in settings.