docs/react-wiki-archive/nvm-setup.md
We recommend using nvm (Node Version Manager) to manage and switch Node versions. This is useful if you're developing in multiple repos and/or branches that have different Node version requirements.
First, uninstall your globally-installed version of Node.
The next steps vary by platform.
nvm-windowsnvm-windows you must manually specify the full version number.
nvm list availableLTS column -- for demo purposes we'll call it x.y.z (you'll need to use the real version number instead)nvm install x.y.znpm install -g yarn@1x.y.z (you'll need to use the real version number instead).nvm install x.y.znvm use x.y.z where x.y.z is the full version number.
nvm list installed.nvmnvm install lts (or nvm install 14 if you prefer to stay on 14 for now)nvm alias default ltsnpm install -g yarn@1nvm install 10 or nvm install 8nvm use 10 (or nvm use 8) each time you open a new terminal (or you can temporarily change the default by running nvm alias default 10 then changing it back later)