Official website download program installation:
npm installation:
download node.js, use npm to install
npm install -g yarn
check version: yarn --version
Problems encountered:
The display is not an internal or external command problem
. Reason: No environment variables were added.
Solution: Find the bin file under yarn, copy the path to the system variable to the path.
1. Right-click My Computer - Properties - Advanced, find the environment Variable
2. Find the path option
3. Add environment variables