- Brew
- NodeJS
$ brew install node
- Watchman
- Install Watchman using brew
$ brew install watchman
- Git
- Install Git using brew
$ brew install git
- Code editor
- Install VSCode using brew
$ brew cask install visual-studio-code
- Install the React Native command line interface
$ npm install -g react-native-cli
- XCode. Installation and setup
- Install Xcode Command Line Tools:
Open downloaded Xcode, then choose "Preferences..." from the Xcode menu. Go to the Locations panel and install the tools by selecting the most recent version in the Command Line Tools dropdown.
At the end, let's create our first app using react-native cli. To create, run the following command in a terminal:
react-native init AwesomeProject
then,
cd AwesomeProject
react-native run-ios
That's all, you're ready to create app!