Prerequisites | RedwoodJS Docs
There are many ways to install and manage both Node.js and Yarn. If you’re installing for the first time, we recommend the following:
1. Node.js
Using the recommended LTS version from Nodejs.org is preferred.
nvmis a great tool for managing multiple versions of Node on one system. It takes a bit more effort to set up and learn, however. Follow the nvm installation instructions. (Windows users should go to nvm-windows). For Mac users with Homebrew installed, you can alternatively use it to installnvm. Or, refer to our how to guide using nvm.
2. Yarn
As of Node.js v18+, Node.js ships with a CLI tool called Corepack to manage package managers. All you have to do is enable it, then you’ll have Yarn:
The version of Yarn will probably be 1.22.21, but don’t worry—in your Redwood project, Corepack will know to use a modern version of Yarn because of the packageManager field in the root package.json.
Windows: Recommended Development Setup
Read more here: Source link
