Skip to main content

Initialising

Generate a new React Native(v0.65.1) app using the @ajaysidhu/react-native-template:

npx react-native init MyApp --template @ajaysidhu/react-native-template --skip-install

The template will automatically install the npm dependencies and the pods (if you are on the MacOS).

Take care

The above command will fail if you have the global legacy react-native-cli installed.

Make sure you uninstall it first:

yarn global remove react-native-cli

or if using npm

npm uninstall -g react-native-cli

Older versions#

If you need to use an older version the template, then you will need to run(replace version with your desired version):

npx react-native init MyApp --template @ajaysidhu/react-native-template@version --skip-install

You can look at all versions, that I have published here.