CLI tool to instantly set up NativeWind v4 for Expo and React Native projects
npx setup-nativewind- ✅ Auto detects your project type (Expo managed, Expo bare, React Native CLI)
- ✅ Asks if your project is JavaScript or TypeScript
- ✅ Installs
nativewindandtailwindcssautomatically - ✅ Creates all required config files
- ✅ Smart merges existing
babel.config.jsandmetro.config.js - ✅ Creates
nativewind-env.d.tsfor TypeScript projects - ✅ Auto updates
tsconfig.jsonfor TypeScript projects
| Project Type | JavaScript | TypeScript |
|---|---|---|
| Expo Managed | ✅ | ✅ |
| Expo Bare | ✅ | ✅ |
| React Native CLI | ✅ | ✅ |
- Node.js 16+
- An existing Expo or React Native project
MIT