Prepare the environment
Create nodejs environment via conda
conda
conda create -p env nodejs=8
# Install the react native command line interface
(env) $ npm install -g react-native-cli
#This will create a new project for the application
(env) $ react-native init <project/application name>
# Enter the project directory ($ cd <project>) and
# use this command to launch the iOS simulator:
(env) $ react-native run-ios
Last updated
Was this helpful?