How to use node/corepack/npm/pnpm/yarn executables apart from Gradle when the Node.js distribution is downloaded by the plugin? ↑
- Create a
NODEJS_HOMEenvironment variable (or a name of your choice) containing the real path set in thenodeInstallDirectoryproperty. - Add the directory containing executables to the
PATHenvironment variable:- On Unix-like O/S, add the
$NODEJS_HOME/binpath. - On Windows O/S, add
%NODEJS_HOME%path.
- On Unix-like O/S, add the