snowglobe is configured through environment variables. They’re
grouped into three layers so you can stop reading once you’ve found what
you need:
- Connection & auth — the handful most setups touch.
- Throughput — three top-level knobs that cover the common “go faster / wait longer / retry more” cases. Prefer these.
- Advanced — the per-feature knobs the throughput knobs derive. Set these directly only when you have a specific reason.
Where to set them
Any of these work; later sources win over earlier ones:- The built-in default (or, for an advanced knob, the value derived from a throughput knob).
- A line in
.snowglobe/config.rc(KEY=value, one per line). This file is created bysnowglobe init. - An exported shell variable (
export KEY=value) — always wins.
Values in
.snowglobe/config.rc are loaded into the environment at
startup, so a line in that file behaves exactly like exporting the
variable in your shell.Connection & auth
Changing the port
The wrapper runs a local server (bound toSNOWGLOBE_CLIENT_PORT) and
then calls itself over HTTP to drive completions. The URL it uses,
SNOWGLOBE_CLIENT_URL, defaults to http://localhost:<SNOWGLOBE_CLIENT_PORT>,
so to move the server you set only the port:
SNOWGLOBE_CLIENT_URL explicitly only for the unusual case where
the wrapper’s server is reached on a different host or through a proxy:
Throughput
These three knobs cover what most users want to tune. Set one and the CLI derives a consistent set of advanced values for you (any advanced variable you set explicitly still wins).
A higher-throughput run is usually a single line:
At startup the CLI checks your values against Snowglobe’s server-side
ceilings and prints a one-line warning (non-fatal) if one is too high —
for example a completion timeout longer than upstream services honor.