# Cross compilation kibana

**URL:** <https://discuss.elastic.co/t/cross-compilation-kibana/175337>\
**Category:** Kibana\
**Created:** [April 4, 2019, 7:21am UTC](https://discuss.elastic.co/t/cross-compilation-kibana/175337 "2019-04-04T07:21:46Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![taoyin](https://avatars.discourse-cdn.com/v4/letter/t/76d3ee/32.png) [@taoyin](https://discuss.elastic.co/u/taoyin)\
**Post date:** [April 4, 2019, 7:21am UTC](https://discuss.elastic.co/t/cross-compilation-kibana/175337/1 "2019-04-04T07:21:46Z")

</div>

I download the sourcecode of kibana. I develop it in windows,how can I cross-compile to linux platform?

---

<div class="post-metadata">

**Author:** ![thomasneirynck](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/thomasneirynck/32/23313_2.png) [@thomasneirynck](https://discuss.elastic.co/u/thomasneirynck)\
**Post date:** [April 4, 2019, 3:42pm UTC](https://discuss.elastic.co/t/cross-compilation-kibana/175337/2 "2019-04-04T15:42:19Z")

</div>

The OS dependency is due to the inclusion of a node-runtime with the Kibana-build. The actual Kibana compilation is just really creating the Javascrtip bundles with webpack.

The easiest way to generate a compatible release is to spin up a linux VM on your windows machine and build a release there. It will pull in the correct release of nodejs.

---

<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 2, 2019, 3:42pm UTC](https://discuss.elastic.co/t/cross-compilation-kibana/175337/3 "2019-05-02T15:42:24Z")

</div>

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