xmake-network

Installation
SKILL.md

Xmake Network & Download Acceleration

When xrepo install, xmake require, or package fetches are slow or fail, xmake gives you several tools in increasing order of power: manual download dir → global proxy → proxy with host allow-list → pac.lua for full rule-based routing and URL mirroring.

All of these are configured with xmake g (global config) — settings persist across all projects on the machine.

1. Quickest win: manual download directory

If you already have the source tarballs (downloaded by hand, from a mirror, or shared across a team), drop them in a directory and point xmake at it:

xmake g --pkg_searchdirs="/download/packages"

Xmake will search this directory before hitting the network. To find out what filename to put there:

Installs
3
GitHub Stars
16
First Seen
May 8, 2026
xmake-network — xmake-io/xmake-skills