Unable to install community node in windows

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.

n8n version : 1.93.0

1 Like

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.

Hope this helps.

Hello,

I have exactly the same problem.
Isn’t there a simpler solution, for example using a command prompt?

Thank you!

Same issue.
Did you solve it?