# Kibana 4.2.0 Plugin OFFLINE installation?

**URL:** https://discuss.elastic.co/t/kibana-4-2-0-plugin-offline-installation/33223
**Category:** Kibana
**Created:** [October 29, 2015, 8:05am UTC](https://discuss.elastic.co/t/kibana-4-2-0-plugin-offline-installation/33223 "2015-10-29T08:05:45Z")
**Posts on this page:** 10
**Page:** 1

<div class="post-metadata">

### Author: ![Thorsten\_Nickel](https://avatars.discourse-cdn.com/v4/letter/t/3be4f8/32.png) [@Thorsten\_Nickel](https://discuss.elastic.co/u/Thorsten_Nickel)
#### Post date: [October 29, 2015, 8:05am UTC](https://discuss.elastic.co/t/kibana-4-2-0-plugin-offline-installation/33223/1 "2015-10-29T08:05:45Z")

</div>

Hello,

is there a possibility to have the plugin installed from the local file ?  
I tried a syntax similar to the elasticsearch plugin installation, where I can do it offline, as long as i can provide the file.

Examples:  
bash-4.2$ ./bin/kibana plugin --install file:///tmp/sense-2.0.0-beta1.tar.gz  
Invalid install option. Please use the format //.

bash-4.2$ ./bin/kibana plugin --install elastic/sense -u file:///tmp/sense-2.0.0-beta1.tar.gz  
Invalid install option. When providing a url, please use the format .

Any other possibilities ?

Kind regards,  
Thorsten

---

<div class="post-metadata">

### Author: ![Thorsten\_Nickel](https://avatars.discourse-cdn.com/v4/letter/t/3be4f8/32.png) [@Thorsten\_Nickel](https://discuss.elastic.co/u/Thorsten_Nickel)
#### Post date: [October 29, 2015, 8:09am UTC](https://discuss.elastic.co/t/kibana-4-2-0-plugin-offline-installation/33223/2 "2015-10-29T08:09:09Z")

</div>

Now I found how to manage this, maybe this helps other users as well.

Use this format:

./bin/kibana plugin --install sense -u file:///tmp/sense-2.0.0-beta1.tar.gz

Kind regards,  
Thorsten

---

<div class="post-metadata">

### Author: ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)
#### Post date: [October 30, 2015, 7:04am UTC](https://discuss.elastic.co/t/kibana-4-2-0-plugin-offline-installation/33223/3 "2015-10-30T07:04:57Z")

</div>

We mention the use of `file` [here](https://www.elastic.co/guide/en/kibana/current/kibana-plugins.html#_installing_plugins_from_an_arbitrary_url) 🙂

---

<div class="post-metadata">

### Author: ![Thorsten\_Nickel](https://avatars.discourse-cdn.com/v4/letter/t/3be4f8/32.png) [@Thorsten\_Nickel](https://discuss.elastic.co/u/Thorsten_Nickel)
#### Post date: [October 30, 2015, 7:47am UTC](https://discuss.elastic.co/t/kibana-4-2-0-plugin-offline-installation/33223/4 "2015-10-30T07:47:33Z")

</div>

Hi Mark,

the use of the file-syntax was not really the problem, more exactly it was the path used as the install option.

From the helptext:

```
-i, --install <org>/<plugin>/<version> The plugin to install

```

Key is, when using the file:/// syntax, I needed to strip out out all the 'path' for the install parameter, only leaving 'sense' or 'license' or 'marvel'

All examples in the docs do not mention this:

Installing Plugins  
Use the following command to install a plugin:

```
bin/kibana plugin --install <org>/<package>/<version>

```

You can also use -i instead of --install, as in the following example:

```
bin/kibana plugin -i elasticsearch/marvel-ui/latest  

```

Or:

```
bin/kibana plugin --install github-user/sample-plugin

```

Hope this helps,  
Thorsten

---

<div class="post-metadata">

### Author: ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)
#### Post date: [October 30, 2015, 8:06am UTC](https://discuss.elastic.co/t/kibana-4-2-0-plugin-offline-installation/33223/5 "2015-10-30T08:06:30Z")

</div>

Fair point, will see if we can get that elaborated on a bit more.

---

<div class="post-metadata">

### Author: ![Garrett\_Johnson](https://avatars.discourse-cdn.com/v4/letter/g/41988e/32.png) [@Garrett\_Johnson](https://discuss.elastic.co/u/Garrett_Johnson)
#### Post date: [March 16, 2016, 11:20pm UTC](https://discuss.elastic.co/t/kibana-4-2-0-plugin-offline-installation/33223/6 "2016-03-16T23:20:02Z")

</div>

On Windows systems I am unable to get any combo of offline url to work.

For instance

kibana plugin --install marvel --url file::///c:/users/downloads/My Name/marvel-2.2.0.tar.gz  
kibana plugin --install marvel --url file:://c:/users/downloads/My Name/marvel-2.2.0.tar.gz  
kibana plugin --install marvel -u - file:://c:/users/downloads/My Name/marvel-2.2.0.tar.gz

Plugin installation was unsuccessful due to error "No valid url specified"

I've tried tons of combos with case adjust etc.

Would be helpful if there was a spelled out example for a specific username and path on windows and linux systems.

---

<div class="post-metadata">

### Author: ![Garrett\_Johnson](https://avatars.discourse-cdn.com/v4/letter/g/41988e/32.png) [@Garrett\_Johnson](https://discuss.elastic.co/u/Garrett_Johnson)
#### Post date: [March 16, 2016, 11:39pm UTC](https://discuss.elastic.co/t/kibana-4-2-0-plugin-offline-installation/33223/7 "2016-03-16T23:39:48Z")

</div>

I worked around this by eventually copying marvel-2.2.0.tar.gz to the kibana bin folder and running

kibana plugin -i marvel -u file:marvel-2.2.0.tar.gz

---

<div class="post-metadata">

### Author: ![learningloop](https://avatars.discourse-cdn.com/v4/letter/l/8e8cbc/32.png) [@learningloop](https://discuss.elastic.co/u/learningloop)
#### Post date: [April 14, 2016, 11:57am UTC](https://discuss.elastic.co/t/kibana-4-2-0-plugin-offline-installation/33223/8 "2016-04-14T11:57:41Z")

</div>

Thank you for the workaround. Installed sense by copying the tar file to bin folder of kibana and using your format.

---

<div class="post-metadata">

### Author: ![fgimian](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/fgimian/32/9325_2.png) [@fgimian](https://discuss.elastic.co/u/fgimian)
#### Post date: [April 21, 2016, 12:34pm UTC](https://discuss.elastic.co/t/kibana-4-2-0-plugin-offline-installation/33223/9 "2016-04-21T12:34:52Z")

</div>

This solution worked for me, thanks heaps 🙂

---

<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: [July 6, 2017, 1:55pm UTC](https://discuss.elastic.co/t/kibana-4-2-0-plugin-offline-installation/33223/10 "2017-07-06T13:55:29Z")

</div>


