# Yarn
# Installing & Running Yarn
Installing Yarn globally
You can install Yarn via npm: npm install --global yarn
Run yarn from your local project
cd to your project where your yarn.lock is located and run yarn to start installing your project.
Run yarn dev to begin running the project locally (check the package.json for specific build commands).
# Debugging Yarn Errors
Missing write access error:
Missing write access to /usr/local/lib/node_modules
If attempting to install yarn results in the above error, you can try running the following command to resolve the issue:
sudo chown -R $USER /usr/local/lib/node_modules
# Useful commands
Check the version of your Yarn install
yarn --version
# Yarn useful links
Read more in Yarn Docs here:
- Learn more about updating & Yarn stuff here (opens new window).