# Kibana to run locally

**URL:** <https://discuss.elastic.co/t/kibana-to-run-locally/74450>\
**Category:** Kibana\
**Created:** [February 8, 2017, 11:40pm UTC](https://discuss.elastic.co/t/kibana-to-run-locally/74450 "2017-02-08T23:40:15Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ucyber](https://avatars.discourse-cdn.com/v4/letter/u/c0e974/32.png) [@Ucyber](https://discuss.elastic.co/u/Ucyber)\
**Post date:** [February 8, 2017, 11:40pm UTC](https://discuss.elastic.co/t/kibana-to-run-locally/74450/1 "2017-02-08T23:40:15Z")

</div>

Hi,

I want to make some changes inside src folder of kibana.  
How can i make it to run locally? eg npm start dev??

C02NV9EGG3QC:kibana\_latest ushenoy$ npm start

> kibana@6.0.0-alpha1 start /Users//Downloads/Dashboard Project/kibana/kibana\_latest  
> sh ./bin/kibana --dev

/usr/local/bin/node: bad option: --no-warnings

npm ERR! Darwin 15.5.0  
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "start"  
npm ERR! node v4.5.0  
npm ERR! npm v2.15.9  
npm ERR! code ELIFECYCLE  
npm ERR! kibana@6.0.0-alpha1 start: `sh ./bin/kibana --dev`  
npm ERR! Exit status 9  
npm ERR!  
npm ERR! Failed at the kibana@6.0.0-alpha1 start script 'sh ./bin/kibana --dev'.  
npm ERR! This is most likely a problem with the kibana package,  
npm ERR! not with npm itself.  
npm ERR! Tell the author that this fails on your system:  
npm ERR! sh ./bin/kibana --dev  
npm ERR! You can get information on how to open an issue for this project with:  
npm ERR! npm bugs kibana  
npm ERR! Or if that isn't available, you can get their info via:  
npm ERR!  
npm ERR! npm owner ls kibana  
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:  
npm ERR! /Users/Downloads/Dashboard Project/kibana/kibana\_latest/npm-debug.log

---

<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:** [February 9, 2017, 5:23pm UTC](https://discuss.elastic.co/t/kibana-to-run-locally/74450/2 "2017-02-09T17:23:57Z")

</div>

I think it depends on the changes you're making in src and on how you "installed" Kibana.

If you downloaded a build, either the tar.gz or installed a .deb .or .rpm package, for some changes, you can make some changes and just start Kibana like this;

```auto
/usr/share/kibana# ./bin/kibana

```

For some other more extensive changes you will have to get all the source from [https://github.com/elastic/kibana](https://github.com/elastic/kibana) and get your development environment configured (see the [README.md](http://README.md) in the Kibana repo).

---

<div class="post-metadata">

**Author:** ![Ucyber](https://avatars.discourse-cdn.com/v4/letter/u/c0e974/32.png) [@Ucyber](https://discuss.elastic.co/u/Ucyber)\
**Post date:** [February 9, 2017, 9:25pm UTC](https://discuss.elastic.co/t/kibana-to-run-locally/74450/3 "2017-02-09T21:25:32Z")

</div>

I did download, but seems like it requires  
"erver log [20:00:52.754] [error][status][plugin:elasticsearch@6.0.0-alpha1] Status changed from yellow to red - This version of Kibana requires Elasticsearch v6.0.0-alpha1 on all nodes. I found the following incompatible nodes in your cluster: v5.2.0 @ 127.0.0.1:9200 (127.0.0.1)"

I am not able to find Elasticsearch v6.0.0

---

<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:** [February 9, 2017, 10:02pm UTC](https://discuss.elastic.co/t/kibana-to-run-locally/74450/4 "2017-02-09T22:02:31Z")

</div>

In the Kibana github repository, the default branch is "master" which is where work that will be in the 6.0 release goes.  
If you want to test code changes compatible with your 5.2.0 Elasticsearch you would need to switch to the 5.2 branch of the Kibana repo.

Or, also download and run Elasticsearch from github "master" branch, which is also labeled 6.0.0-alpha1. They have to match.

---

<div class="post-metadata">

**Author:** ![Ucyber](https://avatars.discourse-cdn.com/v4/letter/u/c0e974/32.png) [@Ucyber](https://discuss.elastic.co/u/Ucyber)\
**Post date:** [February 9, 2017, 10:24pm UTC](https://discuss.elastic.co/t/kibana-to-run-locally/74450/5 "2017-02-09T22:24:59Z")

</div>

I downloaded Elasticsearch from github "master" branch, but there is no bin/elasticSearch script. In fact there is no bin folder at all. Please help

---

<div class="post-metadata">

**Author:** ![Ucyber](https://avatars.discourse-cdn.com/v4/letter/u/c0e974/32.png) [@Ucyber](https://discuss.elastic.co/u/Ucyber)\
**Post date:** [February 9, 2017, 10:31pm UTC](https://discuss.elastic.co/t/kibana-to-run-locally/74450/6 "2017-02-09T22:31:30Z")

</div>

> **[elastic/elasticsearch](https://github.com/elastic/elasticsearch)**
>
> elasticsearch - Open Source, Distributed, RESTful Search Engine

I don't see bin folder to run bin/elasticsearch. FYI

---

<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:** [February 9, 2017, 10:42pm UTC](https://discuss.elastic.co/t/kibana-to-run-locally/74450/7 "2017-02-09T22:42:02Z")

</div>

Elasticsearch is a Java project, so you'll have to build it with gradle. There's some info on how to do that here;

> <https://github.com/elastic/elasticsearch/blob/master/CONTRIBUTING.md#contributing-to-the-elasticsearch-codebase>

Regards,  
Lee

---

<div class="post-metadata">

**Author:** ![Ucyber](https://avatars.discourse-cdn.com/v4/letter/u/c0e974/32.png) [@Ucyber](https://discuss.elastic.co/u/Ucyber)\
**Post date:** [February 9, 2017, 11:50pm UTC](https://discuss.elastic.co/t/kibana-to-run-locally/74450/8 "2017-02-09T23:50:36Z")

</div>

Done. Thanks a lot.

---

<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:** [March 9, 2017, 11:50pm UTC](https://discuss.elastic.co/t/kibana-to-run-locally/74450/9 "2017-03-09T23:50:54Z")

</div>

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