Every Devbox comes with Namespace’s remote build caches. The
nsc CLI is installed and logged in on every Devbox, so commands run in it reach the caches with no setup.Try it with Bazel
Build the same target on two Devboxes. The second one reports a remote cache hit instead of rebuilding.1
Set up the cache
--static and write the bazelrc to a Windows path, then pass that path when you build:2
Build with it
Set up a cache for your build tool
Run your tool’s setup command in the Devbox, the same way you run any other command:
Pants, sccache, and Buck2 have remote caches too. See
nsc cache pants setup, nsc cache sccache setup, and nsc cache buck2 setup.