# BUILD ## Prerequisites Install node.js and run the following command one time in the plugin directory `npm inst`. ## Build To build the actual version of the plugin run `npm run dist` and the code would be build in the directory `dist` and the finished Joplin plugin would be stored in `publish`. ## Updating the plugin framework To update the plugin framework, run `npm run update`. ## Links - [Joplin - Getting started with plugin development](https://joplinapp.org/help/api/get_started/plugins) - [Joplin - Plugin API reference](https://joplinapp.org/api/references/plugin_api/classes/joplin.html) - [Joplin - Data API reference](https://joplinapp.org/help/api/references/rest_api) - [Joplin - Plugin example](https://github.com/laurent22/joplin/tree/dev/packages/app-cli/tests/support/plugins/toc/)