# Set up a React Native development environment on macOS

> In this article I'm going to summarize the steps to set up your development environment to be ready to develop an iOS app. XCode The first step is to install XCode…

- Author: Jérôme Giacomini
- Language: en
- Canonical URL: [Set up a React Native development environment on macOS](https://jeromegiacomini.net/articles/set-up-a-react-native-development-environment-on-macos)
- Last modified: 2026-09-05
- Topics: Windows, Visual Studio, Mobile

In this article I'm going to summarize the steps to set up your development environment to be ready to develop an iOS app.

### XCode

The first step is to install XCode on your machine.
To install XCode nothing simpler just go to the Mac App Store and search for the XCode app, and then click Install.

![xcode.png](/media/sans-date/environnement-developpement-reactnative-macosx/images/75-5f018452-a137-4d5a-88d2-8ae47eb622c6_xcode.png)

### Install Node and Watchman

The first step is to install Brew which will make it easier to install the dependencies we need.
Run this command line in the terminal:

```bash
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
```


Once brew is installed, we'll be able to install Node that ReactNative uses to serve content to devices.

```bash
brew install node 
```


Then we install Watchman:

```bash
brew install watchman
```


### Installation of ReactNativeCLI

To install reactNative, just run in the terminal:

```bash
npm install -g react-native-cli
```


**Note that npm was installed together with Node.js.**

### Testing your ReactNative installation

To test the installation nothing simpler just run these three commands in your terminal.

```bash
react-native init AwesomeProject 
cd AwesomeProject 
react-native run-ios
```


This will create a ReactNative project for you and run it in your iOS Simulator.
![iOSSuccess.png](/media/sans-date/environnement-developpement-reactnative-macosx/images/29-d6a677c3-3665-40a1-befd-7c20b1a1d5c8_iOSSuccess.png)

### Configuring Visual Studio Code

To configure Visual Studio Code, just install the extension: React Native Tools.
![reactNativeTool.png](/media/sans-date/environnement-developpement-reactnative-macosx/images/7-91fe073f-5fb7-4c77-8029-b4669720af6a_reactNativeTool.png)
To debug from Visual Studio Code you need to add a configuration to the launch.json file as follows:
![AddConfig.gif](/media/sans-date/environnement-developpement-reactnative-macosx/images/37-ee5de0ef-30a9-4d5d-81c4-679394905a01_addConfig.gif)

This article is part of a series on ReactNative
1. [Presentation by ReactNative](https://blogs.infinitesquare.com/posts/mobile/presentation-de-reactnative)
2. [Configuring your ReactNative development environment on Windows](https://blogs.infinitesquare.com/posts/mobile/react-native-et-typescript-sur-windows-comment-bien-demarrer)
3. [Configuring its ReactNative development environment on macOS](https://blogs.infinitesquare.com/posts/mobile/environnement-developpement-reactnative-macosx)


Happy coding .
