how to install npm package globally on project code example
Example 1: install npm package globally
npm install package-name -g
Example 2: how to install npm packages globally
npm i -g <package>
npm install package-name -g
npm i -g <package>