# How to compile Kibana?

**URL:** <https://discuss.elastic.co/t/how-to-compile-kibana/356811>\
**Category:** Kibana\
**Created:** [April 4, 2024, 6:56pm UTC](https://discuss.elastic.co/t/how-to-compile-kibana/356811 "2024-04-04T18:56:14Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![belutak](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/belutak/32/133244_2.png) [@belutak](https://discuss.elastic.co/u/belutak)\
**Post date:** [April 4, 2024, 6:56pm UTC](https://discuss.elastic.co/t/how-to-compile-kibana/356811/1 "2024-04-04T18:56:14Z")

</div>

I downloaded Kibana 7.16 from GitLab, but the old instructions that were supposed to compile it seem not to be working. The command "yarn kbn --bootstrap" just gives an error that kbn does not exist, and the rest of the instructions, the newer ones, are for some reason behind a login. Does someone know how to compile Kibana 7.16 for Ubuntu 22?

> <https://github.com/elastic/kibana/blob/v7.17.16/CONTRIBUTING.md>

---

<div class="post-metadata">

**Author:** ![nickpeihl](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/nickpeihl/32/112622_2.png) [@nickpeihl](https://discuss.elastic.co/u/nickpeihl)\
**Post date:** [April 8, 2024, 1:55pm UTC](https://discuss.elastic.co/t/how-to-compile-kibana/356811/2 "2024-04-08T13:55:27Z")

</div>

Hi @belutak. You should use `yarn kbn bootstrap` not `yarn kbn ---bootstrap`.
