# Openapi-to-postman not working?

**URL:** <https://community.postman.com/t/openapi-to-postman-not-working/13713>\
**Category:** Help Hub\
**Created:** [June 29, 2020, 12:15am UTC](https://community.postman.com/t/openapi-to-postman-not-working/13713 "2020-06-29T00:15:07Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![nifepo](https://avatars.discourse-cdn.com/v4/letter/n/77aa72/32.png) [@nifepo](https://community.postman.com/u/nifepo)\
**Post date:** [June 29, 2020, 12:15am UTC](https://community.postman.com/t/openapi-to-postman-not-working/13713/1 "2020-06-29T00:15:07Z")

</div>

Hi,

1. npm install openapi-to-postmanv2
2. openapi2postmanv2 -s spec.yaml -o collection.json -p

Actual Result:  
 ![image](https://us1.discourse-cdn.com/getpostman/original/2X/c/c083ee0f820826b681bbbbb68fb8f4125cfbed99.png)

Am I missing something? thanks

Ps: of course files exists.

> **[GitHub - postmanlabs/openapi-to-postman: Plugin for converting OpenAPI 3.0...](https://github.com/postmanlabs/openapi-to-postman#usage)**
>
> Plugin for converting OpenAPI 3.0 specs to the Postman Collection (v2) format - GitHub - postmanlabs/openapi-to-postman: Plugin for converting OpenAPI 3.0 specs to the Postman Collection (v2) format

---

<div class="post-metadata">

**Author:** ![danny-dainton](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/danny-dainton/32/29401_2.png) [@danny-dainton](https://community.postman.com/u/danny-dainton)\
**Post date:** [June 29, 2020, 6:03am UTC](https://community.postman.com/t/openapi-to-postman-not-working/13713/2 "2020-06-29T06:03:55Z")

</div>

You would need to globally install the package, if you’re using it like that from the cli:

```
npm i -g openapi-to-postmanv2
```

---

<div class="post-metadata">

**Author:** ![nifepo](https://avatars.discourse-cdn.com/v4/letter/n/77aa72/32.png) [@nifepo](https://community.postman.com/u/nifepo)\
**Post date:** [July 6, 2020, 4:06am UTC](https://community.postman.com/t/openapi-to-postman-not-working/13713/3 "2020-07-06T04:06:39Z")

</div>

Thank you Danny…
