install an npm package globally code example Example: install npm package globally npm install package-name -g