React Native init specific version
Use the react-native init project_name
command to initialize a React Native project. By default, the latest version of React Native is used. If you want to specify an old version of React Native, you can add --version
, such as:
$ react-native init project_name --version 0.56.0
This will walk you through creating a new React Native project in /develop/project_name
or
$ npx react-native init project_name --version 0.56.0
This will walk you through creating a new React Native project in /develop/project_name
A folder named project_name will be created in the current directory.