Deploy quickly the tools needed to work on React Native on macOS!
Before you launch this script, you must manually install the followings tools:
- Xcode from the app store AND open it to accept the EULA.
- Xcode command line tools: run the command
xcode-select --install
in a terminal.
You can execute this script remotely with the following command:
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/odemolliens/easyrn-install/master/easyrn.sh)"
At the beginning of the script, you will have to choose the node version, between lts
or 12.19.0
or 14.20.0
and the process will start to install all tools.
NOTE: during the script execution, you might be prompted for your sudo password to install the different tools.
This script will ensure that your environment is React Native ready by installing the following tools:
- android-studio
- android-platform-tools
- applesimutilsap
- brew
- carthage
- charles
- cocoapods
- flipper
- google-chrome-canary
- intel-haxm
- nvm
- node lts version via nvm
- openjdk11
- reactotron
- slack
- visual-studio-code
- watchman
- webstorm
- xcpretty
- yarn
Also, an SSH keypair will be created at the end of the script of no key is existing.
- Go in "System Preferences > Security & Privacy > General" and enable the freshly
installed
intel HAXM
(might be namedIntel Corporations Apps
) - Add multiples android SDK platforms (optional).
- Add android emulators (optional).