简体   繁体   中英

Watchman Installation - Setting PATH on Macbook Pro

As a react-native novice (I started reading about it yesterday), I started installing all I need according to react-native Get Started guide.

I installed Watchman and according to react-native, it should be added to your PATH. I am on Macbook Pro and if I type on terminal echo $PATH, I do not see watchman in there.

However, if I type watchman -v , it shows me watchman version 4.7.0

So, the npm installer seem to have installed and set watchman properly but it is not in PATH. Where is it then? How does terminal recognizes it?

根据react-native网站的说法,也许您已经将watchman安装在正确的位置:“ Watchman-3.2或更高版本。它必须位于/ usr / local / bin /或$ PATH环境变量中。”

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM