I Install node and Watchman
brew install node
brew install watchman
then Install React Native CLI
npm install -g react-native-cli
but when I use react-native init test
I have error: -bash: react-native: command not found
first
sudo npm install -g react-native-cli
this command output path like this
/usr/local/bin/react-native -> /usr/local/lib/node_modules/react-native-cli/index.js
then(for above path example)
export PATH="/usr/local/lib/node_modules/react-native-cli/index.js"
react-native init appName