Global installation of UMI
$ tarn global add umi
$ umi -v
[email protected]
When running UMI - V
times Zsh: command not found: UMI
error, the solution is as follows:
1. Get global bin path
$ yarn global bin
/Users/*****/.yarn/bin
2. Run the open command to open. Bash_ Profile file
$ open ~/.bash_profile
3. In. Bash_ Add the following line to the profile file and save it
export PATH="YOUR global bin FLODER:$PATH"
4. Run the following command to make the modification effective
source ~/.bash_profile
5. Run again and solve the problem
$ umi -v
[email protected]