To initiate DSL2 version of Nextflow set the following environment variable: NXF_VER=19.09.0-edge or anything newer