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
- Singularity 2.5.x (or later)
- Conda 4.5 (or later)
- Graphviz
- AWS CLI
- A configured AWS Batch computing environment
Download Nextflow¶
Execute this command in your terminal:
Alternatively, you could use the curl
command:
Next, ensure that the downloaded binary is executable:
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:
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:
This should print the current version, system, and runtime.
Exercise
To test that the environment is working correctly, execute the following command:
This should come up with the Nextflow version and runtime information (actual versions may differ):