# Build Kibana options

**URL:** <https://discuss.elastic.co/t/build-kibana-options/83690>\
**Category:** Kibana\
**Created:** [April 26, 2017, 11:49am UTC](https://discuss.elastic.co/t/build-kibana-options/83690 "2017-04-26T11:49:13Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sebastien\_ROUL](https://avatars.discourse-cdn.com/v4/letter/s/ecc23a/32.png) [@Sebastien\_ROUL](https://discuss.elastic.co/u/Sebastien_ROUL)\
**Post date:** [April 26, 2017, 11:49am UTC](https://discuss.elastic.co/t/build-kibana-options/83690/1 "2017-04-26T11:49:13Z")

</div>

Hi,

Is it possible to specify only one OS and/or only archive in the command "npm run build" ?  
We work with Kibana 5.3.

Ex `npm run build -- --os=linux-x86_64 --only-archive`

Thanks

---

<div class="post-metadata">

**Author:** ![LeeDr](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/leedr/32/9289_2.png) [@LeeDr](https://discuss.elastic.co/u/LeeDr)\
**Post date:** [April 26, 2017, 3:53pm UTC](https://discuss.elastic.co/t/build-kibana-options/83690/2 "2017-04-26T15:53:56Z")

</div>

Hi Sébastien,

I think you want to use `--skip-os-packages` and that should only create the tar.gz and zip.

Regards,  
Lee

---

<div class="post-metadata">

**Author:** ![Sebastien\_ROUL](https://avatars.discourse-cdn.com/v4/letter/s/ecc23a/32.png) [@Sebastien\_ROUL](https://discuss.elastic.co/u/Sebastien_ROUL)\
**Post date:** [April 26, 2017, 6:26pm UTC](https://discuss.elastic.co/t/build-kibana-options/83690/3 "2017-04-26T18:26:35Z")

</div>

Thank that's the oppisit i'd like : only tar for one distribution...

---

<div class="post-metadata">

**Author:** ![LeeDr](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/leedr/32/9289_2.png) [@LeeDr](https://discuss.elastic.co/u/LeeDr)\
**Post date:** [April 26, 2017, 10:47pm UTC](https://discuss.elastic.co/t/build-kibana-options/83690/4 "2017-04-26T22:47:40Z")

</div>

I think that's as granular as the build parameters go. That `--skip-os-packages` makes it skip the .deb and .rpm packages.

If you wanted to only build a single package you might have to modify `tasks\config\platforms.js` (I'm on master so it might not be the same as 5.3)

You could file an issue to request parameters for individual build outputs, or if you figure out what to change you could submit a pull request to add the option. [https://github.com/elastic/kibana](https://github.com/elastic/kibana)

Regards,  
Lee

---

<div class="post-metadata">

**Author:** ![Sebastien\_ROUL](https://avatars.discourse-cdn.com/v4/letter/s/ecc23a/32.png) [@Sebastien\_ROUL](https://discuss.elastic.co/u/Sebastien_ROUL)\
**Post date:** [April 26, 2017, 11:14pm UTC](https://discuss.elastic.co/t/build-kibana-options/83690/5 "2017-04-26T23:14:09Z")

</div>

Ok thanks and sorry for being confuse about this option.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [May 24, 2017, 11:18pm UTC](https://discuss.elastic.co/t/build-kibana-options/83690/6 "2017-05-24T23:18:39Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
