for linux and mac and those using yarn sudo nano .profile or .bash_profile or .bashrc export PATH=~/.yarn/bin:$PATH source .profile or .bash_profile or .bashrc