Skip to content

Commit 33016f2

Browse files
authored
Update NPM installation instruction (#1556)
* Update NPM installation instruction * further revise the doc
1 parent 963173b commit 33016f2

File tree

1 file changed

+11
-5
lines changed

1 file changed

+11
-5
lines changed

README.md

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -343,20 +343,26 @@ cd /vagrant
343343

344344
### [1.7 - NPM](#table-of-contents)
345345

346-
There is also an [NPM package wrapper](https://github.com/HarmoWatch/openapi-generator-cli), available.
347-
Please see the [docs](https://github.com/HarmoWatch/openapi-generator-cli) there for more information.
346+
There is also an [NPM package wrapper](https://www.npmjs.com/package/@openapitools/openapi-generator-cli) available for different platforms (e.g. Linux, Mac, Windows). (JVM is still required)
347+
Please see the [project's README](https://github.com/openapitools/openapi-generator-cli) there for more information.
348348

349349
Install it globally to get the CLI available on the command line:
350350

351351
```sh
352-
npm install @harmowatch/openapi-generator-cli -g
352+
npm install @openapitools/openapi-generator-cli -g
353353
openapi-generator version
354354
```
355355

356-
Or you install it as dev-dependency like this:
356+
Or install a particualar OpenAPI Generator version (e.g. v3.3.3):
357357

358358
```sh
359-
npm install @harmowatch/openapi-generator-cli -D
359+
npm install @openapitools/[email protected] -g
360+
```
361+
362+
Or install it as dev-dependency:
363+
364+
```sh
365+
npm install @openapitools/openapi-generator-cli -D
360366
```
361367

362368
## [2 - Getting Started](#table-of-contents)

0 commit comments

Comments
 (0)