Need help to Install 1.16 appium patch with 1.15.1 appium


I am trying to add new 1.16 appium patch to 1.15.1 and followed below mentioned steps.
Can you please let me know whether i am following right path?

  1. Download appium
  2. git checkout appium.
  3. npm install
  4. Copy node_modules folder to /usr/local/lib/node_modules/appium/node_modules.

why not?

npm uninstall -g appium
npm install -g appium