create-rn
v1.0.4
Published
Short & interactive React Native project initializer
Maintainers
Readme
🚀 create-rn
A modern, interactive CLI to create React Native projects easily — without remembering long commands.
Built with ❤️ in India 🇮🇳
GitHub: https://github.com/getsettalk
🎯 Features
- ✅ Short & memorable command
- 🎨 Beautiful terminal UI
- 📦 Optional project name (prompt if missing)
- 🔢 Choose React Native version (latest / older / custom)
- 🧠 Proper validation (project name & version)
- 🛑 Graceful cancel (Ctrl + C)
- 💻 Works on macOS, Windows & Linux
- ⚡ Always uses official React Native Community CLI
📦 Usage
Create a project (interactive)
npx create-rnCreate a project with name
npx create-rn MyAppYou will be prompted to:
- Enter project name (if not provided)
- Select React Native version
- Confirm project creation
🔢 React Native Version Options
latest (0.83.1)- Older stable versions
- Custom version (manual input, e.g.
0.81.4)
This avoids npm dependency conflicts and follows official best practices.
⚠️ Before You Run create-rn (IMPORTANT)
Make sure your system is properly set up for React Native development.
✅ Required
- Node.js ≥ 18
- npm (comes with Node)
Check versions:
node -v
npm -v🤖 Android Setup (Required for Android)
Install:
- Android Studio
- Android SDK
- Emulator or physical device
Follow official guide: 👉 https://reactnative.dev/docs/environment-setup
Make sure:
ANDROID_HOMEis set- Emulator runs successfully
🍎 iOS Setup (macOS only)
Install:
- Xcode
- Xcode Command Line Tools
xcode-select --installAlso install CocoaPods:
sudo gem install cocoapods🛑 Cancel Anytime
You can safely cancel the process using:
Ctrl + C create-rn exits gracefully without errors.
🧠 How It Works
- Uses React Native Community CLI
- No dependency hacks
- No global installs required
- Always compatible with official RN releases
📌 Best Practice
Always run via:
npx create-rnThis ensures you always use the latest published version of the CLI.
Screenshot
🧪 Example Flow
✔ Project name: MyApp
✔ Select React Native version: latest (0.83.1)
✔ Create React Native project "MyApp"? Yes🛠 Troubleshooting
❓ npm dependency errors?
You are safe — create-rn uses the official CLI method which avoids common npm peer dependency conflicts.
✨ Why create-rn?
Creating a React Native project usually requires remembering long commands like:
npx @react-native-community/cli@latest init MyAppor for older versions:
npx @react-native-community/[email protected] init MyApp --version 0.83.1 create-rn simplifies all of this into one clean command with an interactive experience.
📄 License
MIT © getsettalk
🌟 Contributing
Pull requests are welcome! If you have ideas or improvements, feel free to open an issue.
❤️ Support
If this project helped you:
- ⭐ Star the repo
- 🐦 Share with other React Native devs
Happy coding 🚀
