how to use npm install in yarn globally code example Example: install yarn globally npm install --global yarn