Skip to content

Commit 3201565

Browse files
authored
Fix: yarn command for installing dependencies (#1077)
## Summary Fixes incorrect Yarn installation command in the documentation. ### Changes - Replaced `yarn install <package>` with `yarn add <package>` - Ensured consistency with standard Yarn usage across docs ### Reason The current documentation incorrectly suggests using `yarn install <package>`, which does not add new dependencies. The correct command is `yarn add <package>`. ### Impact - Prevents confusion for developers using Yarn - Aligns documentation with actual Yarn behavior ## Description <!-- Provide a concise and descriptive summary of the changes implemented in this PR. --> ### Introduces a breaking change? - [ ] Yes - [x] No ### Type of change - [ ] Bug fix (change which fixes an issue) - [ ] New feature (change which adds functionality) - [x] Documentation update (improves or adds clarity to existing documentation) - [ ] Other (chores, tests, code style improvements etc.) ### Tested on - [ ] iOS - [ ] Android ### Testing instructions - Build documentation locally via yarn start and check if everything is corrected. ### Screenshots ### Related issues ### Checklist - [x] I have performed a self-review of my code - [x] I have commented my code, particularly in hard-to-understand areas - [x] I have updated the documentation accordingly - [x] My changes generate no new warnings ### Additional notes Checked versioned documentation files; the issue does not exist there. <!-- Include any additional information, assumptions, or context that reviewers might need to understand this PR. -->
1 parent 8f20cee commit 3201565

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

docs/docs/01-fundamentals/01-getting-started.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,9 +68,9 @@ Installation is pretty straightforward, use your package manager of choice to in
6868
```bash
6969
yarn add react-native-executorch
7070
# For Expo projects
71-
yarn install react-native-executorch-expo-resource-fetcher
71+
yarn add react-native-executorch-expo-resource-fetcher
7272
# For bare React Native projects
73-
yarn install react-native-executorch-bare-resource-fetcher
73+
yarn add react-native-executorch-bare-resource-fetcher
7474
```
7575

7676
</TabItem>

docs/versioned_docs/version-0.8.x/01-fundamentals/01-getting-started.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,9 +68,9 @@ Installation is pretty straightforward, use your package manager of choice to in
6868
```bash
6969
yarn add react-native-executorch
7070
# For Expo projects
71-
yarn install react-native-executorch-expo-resource-fetcher
71+
yarn add react-native-executorch-expo-resource-fetcher
7272
# For bare React Native projects
73-
yarn install react-native-executorch-bare-resource-fetcher
73+
yarn add react-native-executorch-bare-resource-fetcher
7474
```
7575

7676
</TabItem>

0 commit comments

Comments
 (0)