This tutorial assumes you are already familiar with a few core concepts:
You could work through this tutorial without knowing anything about these technologies but you may find yourself getting lost in terminology that we don't stop and take the time to explain. It also helps knowing where the line is between what is built into React and what additional features Redwood brings to the table.
Node.js and Yarn Versions
During installation, RedwoodJS checks if your system meets version requirements for Node and Yarn:
- node: ">=12"
- yarn: ">=1.15"
👉 Heads Up: If your system versions do not meet both requirements, the installation bootstrap will result in an ERROR. To check, please run the following from your terminal command line:
node --version yarn --version
Please do upgrade accordingly. Then proceed to the RedwoodJS installation when you're ready!
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:
- For Mac users, we recommend following the Homebrew instructions via Yarnpkg.com.
- Windows users should also visit Yarnpkg.com for installation options.
- For Mac users, NVM is a great tool for managing multiple versions of Node on one system. And if you already have Homebrew installed, you can use it to install NVM as well. It takes a bit more effort to set up and learn, however, in which case getting the latest installation from Nodejs.org works just fine.
- We recommend Windows users visit Nodejs.org for installation.
If you're confused about which of the two current Node versions to use, we recommend using the most recent "even" LTS, which is currently v12.