Docs/Reference/CLI/node
yarn node
Run a Node.js process within the project's environment
yarn node <ARGS…>
This command simply runs Node.js. It also makes sure to call it in a way that’s compatible with the current project (for example, on Yarn PnP projects the environment will be setup in such a way that Yarn PnP will be correctly injected into the environment).