Appium.js from command line

Hi All,

How to run the below command

node appium.js -a 127.0.0.2 -p 3456 -cp 3456 -bp 4567

if I am starting my appium server using the below command from command line

C:\Users…>appium
[Appium] Welcome to Appium v1.6.5-beta
[Appium] Appium REST http interface listener started on 0.0.0.0:4723

where will I get appium.js file?
earlier,I was using GUI to start my appium server in that I know how to run this command

node appium.js -a 127.0.0.2 -p 3456 -cp 3456 -bp 4567

But as now i am using Appium v1.6.5-beta this version so how i can run this command now

node appium.js -a 127.0.0.2 -p 3456 -cp 3456 -bp 4567 from command line with this new beta appium version ?

Regards,
Sanjay

use “appium”:

appium --log-level error --port 4727 --bootstrap-port 5727 --command-timeout 90 --session-override --log-timestamp