Command for connect appium with Selenium grid hub

I hosted one Selenium grid hub from my computer and now I want to connect node from VM I am using following command

node.exe node_modules\appium\bin\appium.js –nodeconfig -p 4723 –U 192.168.56.101:5555
but it’s throwing me an error as Unrecognized argument –nodeconfig -p 4723 –U 192.168.56.101:5555

Where did you get ‘–nodeconfig’ from? I think the error is correct, there is no such argument.

I got it in google
can you please post the correct syntax

Ok, I did look into this a little more. There is a --nodeconfig, but it needs to be passed a path, like this:

–nodeconfig <path to appium_node_S4.json>

This is the link I was reading:

http://blog.zymr.com/configuring-appium-node-servers-with-selenium-grid