2. Local installation¶
If you can not access Gitpod you can also install everything locally.
Some requirements may be different depending on your local machine.
2.1 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
2.2 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.
2.3 Docker¶
Ensure you have Docker Desktop running on your machine. You can download Docker here.
2.4 Training material¶
You can view the training material here.
To download the material, execute this command:
Then cd
into the nf-training
directory.
2.5 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: