Skip to content

envpkt env check

Check for drift between your envpkt.toml and the live shell environment. Detects both directions: TOML keys missing from env, and credential-shaped env vars not tracked in TOML.

Terminal window
envpkt env check [options]
OptionDescriptionDefault
-c, --config <path>Path to envpkt.tomlAuto-detected
--format <format>Output format: table, jsontable
--strictExit non-zero on any driftfalse
Terminal window
# Standard drift check
envpkt env check
# JSON output
envpkt env check --format json
# Strict mode for CI
envpkt env check --strict
# Specify config path
envpkt env check -c path/to/envpkt.toml
DirectionMeaning
Missing from envKey defined in envpkt.toml but not set in the current shell
Untracked in TOMLCredential-shaped env var detected but not tracked in envpkt.toml

Use envpkt env scan --write to add untracked credentials to your config.