Installation¶
This guide covers installing the nf-slack plugin in your Nextflow pipeline.
Prerequisites¶
- Nextflow v25.04.0 or later
- A Bot Token (see Bot Setup guide) OR Slack webhook URL (see Webhook Setup guide)
Adding the Plugin¶
Add the nf-slack plugin to your nextflow.config:
Using Multiple Plugins?
If you already have a plugins block, just add the nf-slack entry:
Specifying a Version¶
You can specify a particular version of the plugin:
To use the latest version, omit the version number:
Manual Installation¶
Nextflow will automatically download and install the plugin when you run your pipeline. However, if you want to manually install it, you can do so using the Nextflow CLI:
You should see nf-slack in the list of installed plugins.
Local Installation (Development)¶
If you want to install a local development version of the plugin:
- Clone the repository
- Install locally
This will build and install the plugin to your local Nextflow plugins directory. For more details on development setup, see the Contributing guide.