Download nodejs version 6 - sorry, that
Node.js Tool Installer task
Azure Pipelines
Build
Use this task to find, download, and cache a specified version of Node.js and add it to the PATH.
Demands
None
YAML snippet
Arguments
Argument | Description |
---|---|
Version Spec | (Required) Specify which Node.js version you want to use, using semver's version range syntax. Examples: , , , Default value: |
Check for Latest Version | (Optional) Select if you want the agent to check for the latest available version that satisfies the version spec. For example, you select this option because you run this build on your self-hosted agent and you want to always use the latest version. |
Tip
If you're using the Microsoft-hosted agents, you should leave this check box cleared. We update the Microsoft-hosted agents on a regular basis, but they're often slightly behind the latest version. So selecting this box will result in your build spending a lot of time updating to a newer minor version.
Open source
This task is open source on GitHub. Feedback and contributions are welcome.
FAQ
Where can I learn more about tool installers?
For an explanation of tool installers and examples, see Tool installers.
Do I need an agent?
You need at least one agent to run your build or release.
I'm having problems. How can I troubleshoot them?
See Troubleshoot Build and Release.
I can't select a default agent pool and I can't queue my build or release. How do I fix this?
See Agent pools.
-
-