How to Install React Native on Mac OS with Xcode and Android Studio
1 min readDec 14, 2022
React Native becoming very popular among Android and iOS developers because of its cross-platform native development technique.
Step 1. Install Homebrew :
To install Homebrew open your terminal prompt and type the below command
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/uninstall)"Step 2. Install Node.js :
The next step is to install the node.js online using command.
brew install nodeStep 3. Install watchmen :
brew install watchmanStep 4. Install React Native CLI :
npm install -g react-native-cliStep 5. install Xcode :
Download Xcode via Mac App Store
- Open Xcode, Xcode > Preferences
- Go to the Locations tab
- Selecting the most recent version from the Command Line Tools dropdown
- Install cocoapods to MAC OS
sudo gem install cocoapodsor
sudo gem update — system
sudo gem install -n /usr/local/bin cocoapodsCocoaPods manages library dependencies for your Xcode projects.
