This script automates the process of setting up a macOS machine for React Native app development. The script installs Node.js, Watchman, Xcode Command Line Tools, Homebrew, CocoaPods, and Android.
- A macOS machine
- An internet connection
To use the script, run the following command in your terminal:
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/shirangabriel/dev.sh/main/react-native.sh)"
This will download and run the script.
The script performs the following steps:
- Installs Homebrew, a package manager for macOS.
- Installs Node.js using Homebrew.
- Installs Watchman, a tool for watching changes in files and triggering actions.
- Installs Xcode Command Line Tools, which include important development tools like
git. - Installs CocoaPods, a dependency manager for iOS and macOS projects.
- Installs the Android SDK, which includes the Android Emulator and other development tools.
Contributions to this script are welcome. If you find any issues or have ideas for improvements, please create an issue or submit a pull request.
This script is open source and licensed under the MIT License. Feel free to use it and modify it as you see fit. If you find any issues or have suggestions for improvements, please submit an issue or pull request on the GitHub repository.