2023-11-08 20:37:01 -03:00
# Getting Started
2024-01-11 09:13:20 -03:00
> **Note**: Make sure you have completed the [React Native - Environment Setup](https://reactnative.dev/docs/environment-setup) instructions till "Creating a new application" step, before proceeding.
2023-11-08 20:37:01 -03:00
2024-01-11 09:13:20 -03:00
## Step 1: Install dependencies
2023-11-08 20:37:01 -03:00
```bash
2024-01-11 09:13:20 -03:00
yarn install
2023-11-08 20:37:01 -03:00
```
## Step 2: Start your Application
### For Android
```bash
yarn android
```
### For iOS
```bash
yarn ios
```
2024-01-11 09:13:20 -03:00
If everything is set up _correctly_ , you should see your new app running in your Android Emulator or iOS Simulator shortly provided you have set up your emulator/simulator correctly.
2023-11-08 20:37:01 -03:00
This is one way to run your app — you can also run it directly from within Android Studio and Xcode respectively.
# Troubleshooting
If you can't get this to work, see the [Troubleshooting ](https://reactnative.dev/docs/troubleshooting ) page.
# Learn More
To learn more about React Native, take a look at the following resources:
- [React Native Website ](https://reactnative.dev ) - learn more about React Native.
- [Getting Started ](https://reactnative.dev/docs/environment-setup ) - an **overview** of React Native and how setup your environment.
- [Learn the Basics ](https://reactnative.dev/docs/getting-started ) - a **guided tour** of the React Native **basics** .
- [Blog ](https://reactnative.dev/blog ) - read the latest official React Native **Blog** posts.
- [`@facebook/react-native` ](https://github.com/facebook/react-native ) - the Open Source; GitHub **repository** for React Native.
2024-01-11 09:13:20 -03:00
## Utility scripts
### Start metro server
```bash
yarn start
```
### Linting code
```bash
yarn lint
```
### Run tests
```bash
yarn test
```
### Create a release apk
```bash
yarn build:apk:release
```