.envrc (direnv), .mise.toml, or any tooling that consumes env vars.
Usage
Options
| Option | Description |
|---|---|
--scope | Configuration scope: project (default) or user |
--config, -c | Path to cordon.toml (overrides scope-resolved path) |
--format | Output format: shell (default), fish, dotenv, json |
Examples
Interactive shell (bash / zsh):.envrc):
.mise.toml):
Output
Vars emitted:HTTPS_PROXY/HTTP_PROXY(plus lowercase) —http://127.0.0.1:<port>, port fromcordon.toml.NODE_EXTRA_CA_CERTS— absolute path to the Cordon CA cert. Node.js expects a raw cert, not a bundle.SSL_CERT_FILE/REQUESTS_CA_BUNDLE/CURL_CA_BUNDLE— absolute path to the combined (system + Cordon) CA bundle. These env vars replace the default trust store, so a bundle is required.
Errors
no cordon.toml at <path> — run \cordon setup` first` — no config at the resolved scope path.- Bundle vars are omitted (with a comment) if
combined-ca.pemis missing; runcordon setupto generate it.
See also
cordon setup— generates the config and CA bundle this command depends on.