Building OpenWrt requires a GNU/Linux, BSD, or macOS host with a case-sensitive filesystem. Cygwin is not supported due to its lack of a case-sensitive filesystem.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/openwrt/openwrt/llms.txt
Use this file to discover all available pages before exploring further.
Required tools
The following tools must be present on your host system. Package names vary between distributions.Install commands by distribution
A complete, distribution-specific package list is maintained in the OpenWrt Build System Setup documentation on the OpenWrt wiki.
macOS
macOS is supported when using a case-sensitive filesystem (the default APFS volume created during macOS installation is not case-sensitive). You can create a case-sensitive APFS volume in Disk Utility and clone the repository there. Required tools can be installed via Homebrew.Filesystem requirement
The directory containing the OpenWrt source tree must reside on a case-sensitive filesystem. On Linux this is standard for anyext4, xfs, or btrfs volume. On macOS you must explicitly create a case-sensitive volume.
Additionally, the path to the source directory must not contain spaces.
Hardware recommendations
| Resource | Minimum | Recommended |
|---|---|---|
| Free disk space | 15 GB | 25 GB+ |
| RAM | 4 GB | 8 GB+ |
| CPU cores | 1 | 4+ (parallel builds significantly reduce build time) |