How can i change appium configuration when it is installed by npm?

I’m using Appium version 1.5.1 in Mac OS. I want to change appium configuration when it is installed by npm command (npm install -g appium) not by the .dmg application. Is there a way to change it like changing the device name, command timeout, platform version … ? Thanks.

Run the command appium --help after you’ve installed it through npm to your global npm directory. This command should print out all the options that are available to configure Appium at launch. Several of the available options can also be configured through your desired capabilities object when you start a new session.

1 Like

This is how i make it : appium --default-capabilities ‘{“app”:“safari”,“browserName”:“safari”,“appium-version”:“1.5.1”,“platformName”:“iOS”,“platformVersion”:“9.3”,“deviceName”:“iPad Air”,“nativeInstrumentsLib”:true}’ --command-timeout “0” --pre-launch --nodeconfig “/Users/me/nodeconfig.json” --launch-timeout “180000”