Yarn-Bash Direct way to install yarn globally no permission issue will arise Steps 1- Just run sh filename.sh in your root directory. How to get root directory? cd ~ Thats it!