Skip to content

Commit 5402c27

Browse files
clarify the install & use of npx to run the script
1 parent 8419a2d commit 5402c27

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

firestore-bigquery-export/guides/IMPORT_EXISTING_DOCUMENTS.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,13 @@ The import script uses several values from your installation of the extension:
2323
+ `${COLLECTION_PATH}`: the collection path that you specified during extension installation
2424
+ `${DATASET_ID}`: the ID that you specified for your dataset during extension installation
2525

26-
Run the import script using `npm` (the Node Package Manager).
26+
Run the import script using [`npx` (the Node Package Runner)](https://www.npmjs.com/package/npx) via `npm` (the Node Package Manager).
2727

28-
1. Make sure that you have [Node.js](https://www.nodejs.org/) installed in order to access the `npm` command tools.
28+
1. Make sure that you have the required tools installed:
29+
* To access the `npm` command tools, you need to install [Node.js](https://www.nodejs.org/).
30+
* If you use `npm` v5.1 or earlier, you need to explicitly install `npx`. Run `npm install --global npx`.
2931

30-
1. Run the import script via `npm` by running the following command:
32+
1. Run the import script via `npx` by running the following command:
3133

3234
```
3335
npx @firebaseextensions/fs-bq-import-collection

0 commit comments

Comments
 (0)