node-build

Build and install specific Node.js versions from source

brewmacoslinux
Try with needOr install directly
Source

About

Install NodeJS versions

Commands

node-build

Examples

List all available Node.js versions$ node-build --definitions
Install a specific Node.js version to a directory$ node-build 18.12.1 ~/.nodenv/versions/18.12.1
Install latest LTS Node.js version$ node-build 20.10.0 /usr/local/opt/node-20.10.0