Useful Links
Computer Science
Other Tools and Technologies
Yarn Package Manager
1. Introduction to Yarn
2. Getting Started with Yarn
3. Core Concepts
4. Command-Line Interface
5. Configuration
6. Advanced Features
7. Workflows and Best Practices
8. Migration and Interoperability
9. Troubleshooting
Configuration
Configuration Files
The `.yarnrc.yml` File
Syntax and Structure
Project-level Configuration
Global Configuration
Configuration Inheritance
Legacy `.yarnrc` File
Yarn 1 Compatibility
Migration Considerations
Common Configuration Options
`nodeLinker`
Node Modules Mode
Plug'n'Play Mode
PnPM Mode
`npmRegistryServer`
`yarnPath`
`plugins`
`cacheFolder`
`enableImmutableInstalls`
`enableGlobalCache`
`compressionLevel`
`httpTimeout`
`networkTimeout`
Environment Variables
Commonly Used Variables
Overriding Configuration with Environment Variables
CI/CD Environment Variables
Managing Configuration
Setting Configuration via CLI
Viewing Current Configuration
Resetting Configuration
Configuration Validation
Previous
4. Command-Line Interface
Go to top
Next
6. Advanced Features