Custom Capabilities

I want to create my own capabilities like sauce labs people does.

I have two appium version installed in my machine through avm. So could you please suggest me how can i create my own capabilities and tell appium that i want to initiate particular appium version.

Thanks

You can give appiumVersion in your desiredCapabilities, also change the bootstrap port while starting appium and give bp in your desiredCapabilities