<p>As explained on the <a href="https://github.com/renepickhardt/c-lightning-plugin-collection/tree/master/simpleFundsOverview" rel="nofollow noreferrer">simple funds overview plugin</a> you just have to start <code>lightningd</code> with the <code>plugin</code> argument like this:</p>

<pre><code>lightningd --plugin=/path/to/plugin/directory/plugin-file-name.py
</code></pre>

<p>of course plugins could also be written in other languages than python. </p>

<p>You see this mechanism also in action in <a href="https://www.youtube.com/watch?v=FYs1I-pCJIg" rel="nofollow noreferrer">this video which explains who to write and run your own plugins</a>. </p>

<p>Also you can move the plugin to the <code>clightning</code> <a href="https://github.com/ElementsProject/lightning/tree/bc5dbb6a80f89210a25f98135db452ada5f14743/plugins" rel="nofollow noreferrer">codebase to the plugindirectory</a> (version at time of giving that answer). plugins which are stored there are automatically called and activated on <code>lightningd</code> startup if the file of the plugin is executable. </p>

<p>You will also need c-lightning version bigger than 0.6 as plugins where not a thing before.</p>

CC BY-SA 4.0
2019-05-04T09:20:00.600Z
2019-05-04T09:20:00.600Z
Rene Pickhardt
<p>I recently stumbled across the <a href="https://github.com/lightningd/plugins" rel="nofollow noreferrer">https://github.com/lightningd/plugins</a> github repo and wanted to install the autopilot plugin. But how can I install and activate the plugin which I downloaded from the website. </p>

<lightning-network><core-lightning><plugins>
How to install & activate a c-lightning plugin in lightningd?
Rene Pickhardt
# How to install & activate a c-lightning plugin in lightningd?

(Asked by: username_0 on 2019-05-04)

I recently stumbled across the <https://github.com/lightningd/plugins> github repo and wanted to install the autopilot plugin. But how can I install and activate the plugin which I downloaded from the website.

**Tags:** lightning-network, core-lightning, plugins


---

## 1 answers

### Answer by username_0 on 2019-05-04. Score: 2 | Accepted answer

As explained on the [simple funds overview plugin](https://github.com/username_0/c-lightning-plugin-collection/tree/master/simpleFundsOverview) you just have to start `lightningd` with the `plugin` argument like this:

```
lightningd --plugin=/path/to/plugin/directory/plugin-file-name.py

```

of course plugins could also be written in other languages than python.

You see this mechanism also in action in [this video which explains who to write and run your own plugins](https://www.youtube.com/watch?v=FYs1I-pCJIg).

Also you can move the plugin to the `clightning` [codebase to the plugindirectory](https://github.com/ElementsProject/lightning/tree/bc5dbb6a80f89210a25f98135db452ada5f14743/plugins) (version at time of giving that answer). plugins which are stored there are automatically called and activated on `lightningd` startup if the file of the plugin is executable.

You will also need c-lightning version bigger than 0.6 as plugins where not a thing before.


---

