taro: command not found

Obviously the success of the installation prompts, has been taro: command not found. . . After the discovery is not set export lead

 

When installed, you will be prompted to install path: /Users/dev/.npm-global/bin/taro,

Remember this address, open the can see taro, the executable file

vim ~/.bash_profile

export TARO=/Users/dev/.npm-global/bin

export PATH=$TARO:$PATH

Guess you like

Origin blog.csdn.net/vily_luky/article/details/93734141