UsefulLinks
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
5.
Configuration
5.1.
Configuration Files
5.1.1.
The `.yarnrc.yml` File
5.1.1.1.
Syntax and Structure
5.1.1.2.
Project-level Configuration
5.1.1.3.
Global Configuration
5.1.1.4.
Configuration Inheritance
5.1.2.
Legacy `.yarnrc` File
5.1.2.1.
Yarn 1 Compatibility
5.1.2.2.
Migration Considerations
5.2.
Common Configuration Options
5.2.1.
`nodeLinker`
5.2.1.1.
Node Modules Mode
5.2.1.2.
Plug'n'Play Mode
5.2.1.3.
PnPM Mode
5.2.2.
`npmRegistryServer`
5.2.3.
`yarnPath`
5.2.4.
`plugins`
5.2.5.
`cacheFolder`
5.2.6.
`enableImmutableInstalls`
5.2.7.
`enableGlobalCache`
5.2.8.
`compressionLevel`
5.2.9.
`httpTimeout`
5.2.10.
`networkTimeout`
5.3.
Environment Variables
5.3.1.
Commonly Used Variables
5.3.2.
Overriding Configuration with Environment Variables
5.3.3.
CI/CD Environment Variables
5.4.
Managing Configuration
5.4.1.
Setting Configuration via CLI
5.4.2.
Viewing Current Configuration
5.4.3.
Resetting Configuration
5.4.4.
Configuration Validation
Previous
4. Command-Line Interface
Go to top
Next
6. Advanced Features