
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
rn-project-cli
Advanced tools
CLI tool for creating React Native/Expo projects with optional NativeWind/TailwindCSS setup - WebStorm compatible
A powerful CLI tool for creating React Native/Expo projects with optional NativeWind/TailwindCSS setup, optimized for WebStorm integration.
npm install -g rn-project-cli
# Clone or download this repository
cd rn-project-cli
npm install
npm install -g .
install.bat - This will install the CLI globallynpm install -g .To update to the latest version of rn-project-cli:
npm install -g rn-project-cli@latest
Or simply:
npm update -g rn-project-cli
npm list -g rn-project-cli
Or check the version from the CLI:
rn-create --version
npm install -g rn-project-cli@1.0.2
After updating, verify the installation:
rn-create
You should see the help message with the latest features.
# Create a new Expo project
rn-create my-app
# The CLI will prompt you to setup NativeWind/TailwindCSS
# Answer 'yes' or 'no' when prompted
# Skip npm install (faster project creation)
rn-create my-app --no-install
# Use a specific template
rn-create my-app --template tabs
# Automatically setup NativeWind/TailwindCSS (skip prompt)
rn-create my-app --nativewind
# Skip NativeWind setup (skip prompt)
rn-create my-app --no-nativewind
# Combine options
rn-create my-app --template tabs --nativewind
rn-create my-app --template blank --no-install --no-nativewind
The CLI can automatically set up NativeWind and TailwindCSS for your project. When you run rn-create, you'll be prompted:
? Would you like to setup NativeWind/TailwindCSS? (y/N)
If you answer yes, the CLI will:
nativewind and tailwindcss packagestailwind.config.js with proper configurationglobal.css with Tailwind directivesbabel.config.js with NativeWind pluginmetro.config.js with CSS transformerglobal.css in your root componentUsage Example:
import { View, Text } from 'react-native';
export default function App() {
return (
<View className="flex-1 items-center justify-center bg-white">
<Text className="text-2xl font-bold text-blue-500">
Hello NativeWind!
</Text>
</View>
);
}
You can also use the batch file directly:
rn-create.bat my-app
rn-create.bat my-app --no-install
rn-create.bat my-app --template tabs
rn-create.bat my-app --nativewind
To publish this package to npm:
Update package.json (if needed):
author fieldrepository.url with your git repositoryLogin to npm:
npm login
Publish:
npm publish
After publishing, users can install globally:
npm install -g rn-project-cli
Create React Native ProjectCreate a new React Native/Expo projectrn-create (if installed globally) or path to rn-create.bat$Prompt$$ProjectFileDir$Usage in WebStorm:
my-app or my-app --nativewind)Create RN Projectrn-create.bat or rn-create command$Prompt$$ProjectFileDir$--no-install: Skip automatic npm install (useful for faster project creation)--template <name>: Use a specific Expo template (blank, tabs, etc.)--nativewind: Automatically setup NativeWind/TailwindCSS (skip interactive prompt)--no-nativewind: Skip NativeWind setup (skip interactive prompt)# Basic project (will prompt for NativeWind)
rn-create uber_clone
# Skip install for faster setup
rn-create uber_clone --no-install
# Use tabs template with NativeWind
rn-create my-app --template tabs --nativewind
# Full example
rn-create uber_clone --template blank --no-install --nativewind
# Skip NativeWind setup
rn-create my-app --no-nativewind
If rn-create command is not found:
rn-create.bat directly insteadnpm config get prefix to find global install locationIf you get permission errors during installation:
install.bat as Administratornpm install -g . as Administratorsudo npm install -g .If NativeWind classes aren't working:
global.css is imported in your root componentbabel.config.js includes 'nativewind/babel' pluginmetro.config.js has cssToReactNativeRuntime: truenpx expo start --clearMIT
FAQs
CLI tool for creating React Native/Expo projects with optional NativeWind/TailwindCSS setup - WebStorm compatible
We found that rn-project-cli demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.