How to Install React Native on Mac OS with Xcode and Android Studio

Rakesh Samal
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 node

Step 3. Install watchmen :

brew install watchman

Step 4. Install React Native CLI :

npm install -g react-native-cli

Step 5. install Xcode :

Download Xcode via Mac App Store

  1. Open Xcode, Xcode > Preferences
  2. Go to the Locations tab
  3. Selecting the most recent version from the Command Line Tools dropdown
  4. Install cocoapods to MAC OS
sudo gem install cocoapods

or

sudo gem update — system
sudo gem install -n /usr/local/bin cocoapods

CocoaPods manages library dependencies for your Xcode projects.

Sign up to discover human stories that deepen your understanding of the world.

Free

Distraction-free reading. No ads.

Organize your knowledge with lists and highlights.

Tell your story. Find your audience.

Membership

Read member-only stories

Support writers you read most

Earn money for your writing

Listen to audio narrations

Read offline with the Medium app

--

--

No responses yet

Write a response