: Use a .nvmrc file in your root directory containing just the version number (e.g., 20.11.0 ). Run nvm use to switch automatically.
Running yarn set node version <version> (e.g., 18.17.0 ) typically: yarn set node version
"engines": "node": ">=18.0.0"
(Note: This sets the Yarn version, not Node. To set Node constraints, read below.) : Use a