Node version requirement
Last updated
Last updated
semantic-release is written using the latest features, without transpilation which requires Node version 20.8.1 or higher.
semantic-release is meant to be used in a CI environment as a development support tool, not as a production dependency. Therefore, the only constraint is to run the semantic-release
in a CI environment providing version of Node that meets our version requirement.
See our for our long-term promise regarding Node version support.
The recommended approach is to run the semantic-release
command from a CI job running on the latest available LTS version of node. This can either be a job used by your project to test on the latest Node LTS version or a dedicated job for the release steps.
See and for more details.
npx
to execute in the latest LTS version of Nodenpx
is included with npm >= 5.2 and can be used to download the latest . Use it to execute the semantic-release
command.
Note: See for more details.
nvm
If your CI environment provides you can use it to switch to the latest LTS version of Node before running the semantic-release
command.