Air-gapped installation
Turf™ is self-hosted: the server, the engine and the console run on your machines, and your state, plans and credentials stay there. This page shows how to run it where nothing can reach the internet.
There is no license server and no update check. What Turf fetches is the software itself, the providers and modules your configurations name, and, unless you turn them off, usage telemetry and a few lookups. Each has an answer below.
Accepting the license is local too. turf license accept writes a record under ~/.turf and
contacts nothing, and TURF_ACCEPT_EULA is read from the process’s own environment. The archive
carries the whole agreement, so you can read it on the inside: LICENSE, the Turf Community Edition
License, and STANDARD-TERMS.md, the Common Paper standard terms it builds on. With usage telemetry
on, the engine’s start event carries the terms version and the method; under TURF_OFFLINE
telemetry is off, so nothing about your acceptance leaves the network.
The switch
Section titled “The switch”Set TURF_OFFLINE=1 and Turf makes no call of its own to the internet:
| Component | With TURF_OFFLINE=1 |
|---|---|
| The engine | Usage telemetry is off. |
| The MCP server | provider_search does not call the public registry. It answers with what to do instead. |
The turf CLI |
The model catalog comes from the copy built into the binary, never from models.dev. |
Set it wherever each process starts: in your agent’s server definition for the MCP server, which
hands it to an engine it starts; in turf.env for the Homebrew service; in the pod’s environment in
a cluster; and in your shell for the CLI.
The switch does not change where providers and modules come from. That is your configuration’s business, covered in Providers and Modules.
The release
Section titled “The release”On a connected machine, download the archive for your platform and checksums.txt from the
release, and
verify them there. Download restate-server, the engine’s
dependency, from Restate’s releases; Turf does not
redistribute it.
Inside the network, either unpack the archive yourself or point the install script at a mirror. The npx install is not the path for an air gap: it asks the npm registry at every start. Install from the archive, and give your agent the server’s path.
mkdir -p ~/.turf/bintar -xzf turf_v1.5.0_linux_amd64.tar.gz -C ~/.turf/bintar -xJf restate-server-x86_64-unknown-linux-musl.tar.xz --strip-components 1 \ -C ~/.turf/bin restate-server-x86_64-unknown-linux-musl/restate-serverexport PATH="$HOME/.turf/bin:$PATH"# Read LICENSE and STANDARD-TERMS.md, unpacked beside the binaries, then accept the terms:turf license acceptTURF_OFFLINE=1 turf-mcp-server engine runexport TURF_DOWNLOAD_URL=https://mirror.example.com/turf/releasesexport TURF_RESTATE_DOWNLOAD_URL=https://mirror.example.com/restate/releasessh install.sh --version v1.5.0 --no-telemetryA mirror keeps the path GitHub uses: <mirror>/download/<tag>/<file>. The script checks both
downloads against their SHA-256 before it installs anything.
Images
Section titled “Images”For a cluster, copy the images into your registry. cosign copy carries
each image’s signature and attestations with it, so you can verify again on the inside:
cosign copy ghcr.io/turfbuild/turf-mcp-server:v1.5.0 registry.example.com/turf/turf-mcp-server:v1.5.0cosign copy docker.io/restatedev/restate:1.8.1 registry.example.com/restate/restate:1.8.1A configuration image is copied the same way. In the manifests, set TURF_OFFLINE=1 on the server
and the engine, and RESTATE_DISABLE_TELEMETRY=true on restate-server. License acceptance in a
cluster is an env entry too, read in the pod: see
Minimal manifests.
Providers
Section titled “Providers”Providers install from a mirror you name in the OpenTofu® CLI configuration, with a
provider_installation block. Fill the mirror on a connected machine, from the configuration’s
directory:
tofu providers mirror -platform=linux_amd64 /srv/providersThen point both the server and the engine at it:
provider_installation { filesystem_mirror { path = "/srv/providers" }}With no direct block, nothing is fetched from a public registry. A network mirror and an OCI mirror
work the same way; see
State backend, registries and mirrors.
provider_describe installs through the same block, so it works from the mirror. provider_search
needs a registry’s search service: under TURF_OFFLINE it is off, unless TURF_REGISTRY_API_URL
names one inside your network.
Modules
Section titled “Modules”Modules have no mirror setting. A module source must be reachable from the server and the engine: a path in the configuration, a git host inside your network, or a private registry (tokens). Rewrite a public registry source to one of those before the configuration crosses over.
The model
Section titled “The model”Turf does not call a model. Your agent does, and its endpoint is the agent’s setting. If you use
Turf’s own agent, the turf CLI, give it a model inside your network: a
local model, or a gateway named with --base-url or a
providers entry in turf.yaml (Model providers).
What Turf contacts
Section titled “What Turf contacts”Every host a default installation can reach, and what stops it:
| Host | Who calls it | For | Without it |
|---|---|---|---|
get.turf.build, turf.build |
you | The install script | Carry the script in |
github.com |
the install script, Homebrew | The release, restate-server | TURF_DOWNLOAD_URL, TURF_RESTATE_DOWNLOAD_URL, or unpack by hand |
registry.npmjs.org |
npm, for the npx install | The npm packages, at the install and at each start of the server. Restate’s package also reports anonymous install analytics through Scarf. | Install from the archive instead |
ghcr.io, docker.io |
your cluster | The images | Your registry |
registry.opentofu.org and each provider’s download host |
the server, the engine | Providers, registry modules | A provider_installation mirror; internal module sources |
api.opentofu.org |
the server | provider_search |
TURF_OFFLINE, or TURF_REGISTRY_API_URL |
telemetry.turf.build |
the engine | Usage telemetry | TURF_OFFLINE, turf telemetry off, TURF_TELEMETRY=off or DO_NOT_TRACK=1 |
models.dev |
the turf CLI |
The model catalog | TURF_OFFLINE |
| Your model provider | the turf CLI |
The model | A local model or your gateway |
Everything else Turf reaches is yours: the state backend, the hosts your module sources name, and the APIs your providers manage. Providers are separate programs, and they call what their resources need.
The console serves its own pages and loads nothing from outside.
Data at rest
Section titled “Data at rest”The engine keeps each run’s record in restate-server’s store: plans, the values of variables, and the journal that lets a run resume. Sensitive values in that record are not separately encrypted, so put the store on an encrypted volume and limit who can read it. State files are covered by state encryption.
Turf™ is a trademark of Turf LLC. Terraform® is a trademark of HashiCorp. Ansible® is a trademark of Red Hat, LLC, registered in the United States and other countries. Helm®, Kubernetes®, Prometheus® and OpenTelemetry® are registered trademarks, and Jaeger™ is a trademark, of the Linux Foundation. OpenTofu® and Model Context Protocol® are registered trademarks of LF Projects, LLC. All other trademarks are the property of their respective owners. Turf is not affiliated with, endorsed by, or sponsored by HashiCorp, IBM, Red Hat, the Linux Foundation, LF Projects or the OpenTofu project.
© 2026 Turf LLC. Free for individuals, education and small businesses within the Community limits, under the Turf Community Edition License 1.0. Government and larger organizations need a commerciallicense.turf.build · Discord ·GitHub