Yarn global command not working

You should add export PATH="$PATH:$(yarn global bin)" to your ~/.bash_profile or whatever you use. It would solve the issue.

Depending on how you installed it, Yarn’s global folder varies for some reason. You can follow this issue here.

Leave a Comment