Saltar a contenido

Local installation

If you cannot use GitHub Codespaces session for any reason, you have the option of installing everything locally instead.

Some requirements may be different depending on your local machine.

Requirements

Nextflow can be used on any POSIX-compatible system (Linux, macOS, Windows Subsystem for Linux, etc.).

Requirements

Optional requirements

Download Nextflow

Execute this command in your terminal:

wget -qO- https://get.nextflow.io | bash

Alternatively, you could use the curl command:

curl -s https://get.nextflow.io | bash

Next, ensure that the downloaded binary is executable:

chmod +x nextflow

Finally, ensure the nextflow executable is in your $PATH. The executable could be in /usr/local/bin, /bin/, etc.

Docker

Ensure you have Docker Desktop running on your machine. You can download Docker here.

Training material

You can view the training material here.

To download the material, execute this command:

git clone https://github.com/nextflow-io/training.git

Then cd into the relevant directory. By default, that is hello-nextflow.

Checking your installation

Check that you have correctly installed nextflow by running the following command:

nextflow info

This should print the current version, system, and runtime.

Exercise

To test that the environment is working correctly, execute the following command:

nextflow info

This should come up with the Nextflow version and runtime information (actual versions may differ):

Version: 23.10.1 build 5891
Created: 12-01-2024 22:01 UTC
System: Linux 6.1.75-060175-generic
Runtime: Groovy 3.0.19 on OpenJDK 64-Bit Server VM 11.0.1-internal+0-adhoc..src
Encoding: UTF-8 (UTF-8)