curl -s https://get.nextflow.io | bash
可选:避免nextflow每次运行时都记住并键入完整路径,将nextflow路径添加到$PATH变量中,或者将nextflow链接到$PATH中的目录