add package globally cli code example
Example 1: install npm globally
npm install npm@latest -g
Example 2: yarn add global
yarn global <add/bin/list/remove/upgrade> [--prefix]
npm install npm@latest -g
yarn global <add/bin/list/remove/upgrade> [--prefix]