Skip to content

Commit 7feb2c3

Browse files
authored
docs: add command 'npx' for CLI usage (#553)
CLI usage add 'npx'
1 parent c57bc5a commit 7feb2c3

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -337,14 +337,14 @@ uuidVersion('6ec0bd7f-11c0-43da-975e-2a8ad9ebae0b'); // ⇨ 4
337337
UUIDs can be generated from the command line using `uuid`.
338338

339339
```shell
340-
$ uuid
340+
$ npx uuid
341341
ddeb27fb-d9a0-4624-be4d-4615062daed4
342342
```
343343

344344
The default is to generate version 4 UUIDS, however the other versions are supported. Type `uuid --help` for details:
345345

346346
```shell
347-
$ uuid --help
347+
$ npx uuid --help
348348

349349
Usage:
350350
uuid

README_js.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -343,14 +343,14 @@ uuidVersion('6ec0bd7f-11c0-43da-975e-2a8ad9ebae0b'); // RESULT
343343
UUIDs can be generated from the command line using `uuid`.
344344

345345
```shell
346-
$ uuid
346+
$ npx uuid
347347
ddeb27fb-d9a0-4624-be4d-4615062daed4
348348
```
349349

350350
The default is to generate version 4 UUIDS, however the other versions are supported. Type `uuid --help` for details:
351351

352352
```shell
353-
$ uuid --help
353+
$ npx uuid --help
354354

355355
Usage:
356356
uuid

0 commit comments

Comments
 (0)