diff --git a/docs/src/pages/docs/devtools.md b/docs/src/pages/docs/devtools.md index 287a234566..1eb9f7900d 100644 --- a/docs/src/pages/docs/devtools.md +++ b/docs/src/pages/docs/devtools.md @@ -12,7 +12,7 @@ When you begin your React Query journey, you'll want these devtools by your side To get going as fast as possible, do the following: ```bash -$ npm i --save react-query-devtools +$ npm i react-query-devtools # or $ yarn add react-query-devtools ``` diff --git a/docs/src/pages/docs/installation.md b/docs/src/pages/docs/installation.md index 9a82ca3198..a8953babb8 100644 --- a/docs/src/pages/docs/installation.md +++ b/docs/src/pages/docs/installation.md @@ -9,14 +9,10 @@ You can install React Query with [NPM](https://npmjs.com), ### NPM -```sh -npm install react-query --save -``` - -or - -```sh -yarn add react-query +```bash +$ npm i react-query +# or +$ yarn add react-query ``` React Query is compatible with React v16.8+ and works with ReactDOM and React Native.