# Command to Install built plugin

**URL:** <https://forum.juce.com/t/command-to-install-built-plugin/54870>\
**Category:** General JUCE discussion\
**Created:** [February 4, 2023, 1:59am UTC](https://forum.juce.com/t/command-to-install-built-plugin/54870 "2023-02-04T01:59:43Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![tobiq](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/tobiq/32/8868_2.png) [@tobiq](https://forum.juce.com/u/tobiq)\
**Post date:** [February 4, 2023, 1:59am UTC](https://forum.juce.com/t/command-to-install-built-plugin/54870/1 "2023-02-04T01:59:43Z")

</div>

is there a command to install plugin on your system via cmake  
theres the `COPY_AFTER_BUILD` option in the juce plugin config  
but if you’ve got build caching it wont copy/install (because nothing was rebuilt)

do I need to setup my own custom cmake install config?  
I tried to run `cmake --install build-dir` and it installed the JUCE library to my system, instead of my plugin

---

<div class="post-metadata">

**Author:** ![ImJimmi](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/imjimmi/32/10843_2.png) [@ImJimmi](https://forum.juce.com/u/ImJimmi)\
**Post date:** [February 4, 2023, 11:03am UTC](https://forum.juce.com/t/command-to-install-built-plugin/54870/3 "2023-02-04T11:03:06Z")

</div>

> <https://github.com/juce-framework/JUCE/blob/master/docs/CMake%20API.md#juce_copy_plugin_after_build>

---

<div class="post-metadata">

**Author:** ![tobiq](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/tobiq/32/8868_2.png) [@tobiq](https://forum.juce.com/u/tobiq)\
**Post date:** [February 4, 2023, 12:02pm UTC](https://forum.juce.com/t/command-to-install-built-plugin/54870/4 "2023-02-04T12:02:57Z")

</div>

I already acknowledged this option in the question
