Skip to content

Commit

Permalink
Update Expo.md
Browse files Browse the repository at this point in the history
Hi 馃憢

One thing I'd like to update and make it future proof for Expo specific projects is to update the installation command from expo install... to npx expo install.... Since the latter referees to the new Expo CLI, which doesn't require any global package installation. For expo install, people will need to install the deprecated global cli (and we are not recommending that).

Also, update docs related links.

Thank you!
  • Loading branch information
amandeepmittal committed May 31, 2023
1 parent c30c529 commit 9c8df49
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/Expo.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# Expo installation

> This package cannot be used in the "Expo Go" app because [it requires custom native code](https://docs.expo.io/workflow/customizing/).
> This package cannot be used in the "Expo Go" app because [it requires custom native code](https://docs.expo.dev/workflow/customizing/).
First install the package with yarn, npm, or [`expo install`](https://docs.expo.io/workflow/expo-cli/#expo-install).
First install the package with yarn, npm, or [`npx expo install`](https://docs.expo.dev/more/expo-cli/#installation).

```sh
expo install react-native-health
Expand All @@ -18,7 +18,7 @@ After installing this npm package, add the [config plugin](https://docs.expo.io/
}
```

Next, rebuild your app as described in the ["Adding custom native code"](https://docs.expo.io/workflow/customizing/) guide.
Next, rebuild your app as described in the ["Adding custom native code"](https://docs.expo.dev/workflow/customizing/) guide.

## API

Expand Down

0 comments on commit 9c8df49

Please sign in to comment.