nextflow-io/agent-skills/install-nextflow
- community
Checking that the SKILL.md file is still in the repository.
Install or upgrade Nextflow on the user's machine. Use when the user wants to install Nextflow, check their current Nextflow version, upgrade Nextflow, or set up the prerequisites (Java 17+) needed to run Nextflow.
Install
npx vskill@latest install nextflow-io/agent-skills/install-nextflowSKILL.md
Install or Upgrade Nextflow
Install Nextflow (or upgrade an existing installation) and ensure the Java prerequisite is in place.
Step 1: Check Whether Nextflow Is Installed
- If installed, parse the version from the output and proceed to Step 2.
- If not installed, skip to Step 3.
Step 2: Check for Upgrades (Existing Install)
If Nextflow is already installed:
- Read the installed version from
nextflow -version. - If the installed version is older than 26.04, the user MUST upgrade — other Nextflow skills depend on it.
- If the user needs workflow modules (registry modules with
Kind: Workflow), the installed version must be 26.10 or later. - Otherwise, propose an upgrade only if a newer version is available.
Run a self-update (it checks the latest release and updates if newer):
Confirm with the user before running it. After the update, re-run nextflow -version to verify.
If the install is already up to date, stop here.
Step 3: Verify Java 17+ (Required for Installing Nextflow)
Nextflow requires Java 17 or later. Check the installed Java version:
Note: java -version writes to stderr, not stdout. Capture both streams when parsing:
- If Java 17+ is present, proceed to Step 4.
- If Java is missing or older than 17, install Java 21 using SDKMAN (Step 3a).
Step 3a: Install Java 21 via SDKMAN
First, check whether SDKMAN is installed:
If SDKMAN is missing, install it:
Then load SDKMAN into the current shell session and install Java 21:
After installation, verify:
Step 4: Install Nextflow
Prefer curl; fall back to wget if curl is unavailable.
Detect which downloader is available:
Using curl:
Using wget (if curl is missing):
If neither curl nor wget is available, stop and ask the user to install one of them.
The installer drops a nextflow launcher in the current directory. Move it onto the user's PATH (confirm the destination with the user first):
Common alternatives are /usr/local/bin/ (may need sudo) or any directory already on PATH (echo $PATH).
Step 5: Verify the Installation
Confirm the reported version is 26.04 or later. Present the version to the user.
Nextflow Versioning
Calendar versioning
Stable Nextflow releases use calendar versioning in the form YY.MM.PATCH:
25.10.1— patch 1 of the October 2025 release26.04.0— first release of April 2026
Compare versions as calendar dates, not semver — 26.04.0 is newer than 25.10.1.
Edge releases
Edge (preview) releases append the -edge suffix, e.g. 26.05.0-edge. They include unreleased features and are not recommended for production.
Switch the active channel via the NXF_EDGE environment variable:
This affects which release nextflow self-update and the launcher resolve to.
Pinning a specific version
Pin any version (stable or edge) with NXF_VER. The launcher will download and use that exact version on the next run:
Unset NXF_VER (unset NXF_VER) to return to the latest version of the active channel.
When the user asks to install or run a specific version, set NXF_VER rather than reinstalling.
Critical Rules
- CHECK FIRST — always run
nextflow -versionbefore deciding to install or upgrade. - REQUIRE 26.04+ — other Nextflow skills depend on
nextflow module,nextflow auth, andnextflow launch, which require this version. Workflow modules require 26.10 or later. - VERIFY JAVA 17+ before installing Nextflow — install Java 21 via SDKMAN if missing or too old.
- CONFIRM destructive actions — ask the user before running
nextflow self-update, installing SDKMAN, or moving thenextflowlauncher to a system directory. - PREFER curl, FALL BACK to wget — if neither is available, stop and ask the user to install one.
- REMEMBER stderr —
java -versionwrites to stderr; redirect with2>&1when parsing. - VERIFY at the end — always run
nextflow -versionafter install/upgrade to confirm the result. - USE NXF_VER for pinning — when the user asks for a specific Nextflow version, set
NXF_VERinstead of reinstalling. - TREAT versions as calendar dates — Nextflow uses
YY.MM.PATCH, not semver, so26.04.0is newer than25.10.1.
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/install-nextflow/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/nextflow-io/agent-skills/install-nextflow)