# New plugin architecture: How to build?

**URL:** <https://discuss.elastic.co/t/new-plugin-architecture-how-to-build/253036>\
**Category:** Kibana\
**Tags:** kibana-plugin-development\
**Created:** [October 22, 2020, 3:50pm UTC](https://discuss.elastic.co/t/new-plugin-architecture-how-to-build/253036 "2020-10-22T15:50:57Z")\
**Posts on this page:** 1\
**Showing post:** 11

<div class="post-metadata">

**Author:** ![16318a22907f3cbfa04b](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/16318a22907f3cbfa04b/32/36875_2.png) [@16318a22907f3cbfa04b](https://discuss.elastic.co/u/16318a22907f3cbfa04b)\
**Post date:** [November 16, 2020, 7:42pm UTC](https://discuss.elastic.co/t/new-plugin-architecture-how-to-build/253036/11 "2020-11-16T19:42:41Z")

</div>

> [@Custom Plugins 7.7.0](https://discuss.elastic.co/t/custom-plugins-7-7-0/240927):
>
> Hi, I'm having a hard time understanding a few things regarding custom plugin development since I cannot seem to find enough documentation about it: How do I build a single plugin without having to build the entire kibana? (e.g. the custom plugin that would reside in the '/plugins' folder which is the default folder that the cmd 'node scripts/generate-plugin defaults you to); How can I add a dependency specially for my plugin (this was possible back in 7.3.0)? Is it possible for someone to po…

All right. I Should have looked here. Now everything is working. I will only add that the plugin archive should be done on Linux. On a Windows machine it turns out to be incorrect and there will be an error during installation `Plugin installation was unsuccessful due to error "EACCES: permission denied, open '/usr/share/kibana/plugins/.plugin.installing/package.json'"`  
No more problems.

---

_[View the full topic](https://discuss.elastic.co/t/new-plugin-architecture-how-to-build/253036)._
