Download and then open the code on an IDE (e.g., VSCode).
On the terminal, in the project root directory,
run npm install or npx expo install
to install dependencies.
Note: The npx expo install command will pick a version of the library that is compatible with your project and then use your JavaScript package manager (such as npm) to install it.
On the terminal, in the project root directory, run:
expo startor:
npm start-
Install Node.js
-
Install expo-cli globally
$ npm install expo-cli --global
-
Initialize a expo project
$ npx create-expo-app --template ? Choose a template: › - Use arrow-keys. Return to submit. Blank ❯ Blank (TypeScript) - blank app with TypeScript enabled Navigation (TypeScript) Blank (Bare)
Install and update packages that work with the version of react-native in your project:
$ npx expo install package-name