Skip to content

Instantly share code, notes, and snippets.

@kdastan
Last active February 5, 2019 09:20
Show Gist options
  • Save kdastan/e57d522a42bbbb76bb187ac21baf553f to your computer and use it in GitHub Desktop.
Save kdastan/e57d522a42bbbb76bb187ac21baf553f to your computer and use it in GitHub Desktop.
List of dependencies required for installation to work with the React Native on Mac computers.

List of dependencies required for installation

  1. Brew
  1. NodeJS
$ brew install node
  1. Watchman
  • Install Watchman using brew
$ brew install watchman
  1. Git
  • Install Git using brew
$ brew install git
  1. Code editor
  • Install VSCode using brew
$ brew cask install visual-studio-code
  1. Install the React Native command line interface
$ npm install -g react-native-cli
  1. 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!

Official docs:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment