ksp env
DocsCLIksp env

ksp env

Command Reference

Print all environment variables recognized by KSP CLI along with their current resolved runtime values.

System & Environment

Purpose

Print all environment variables recognized by KSP CLI along with their current resolved runtime values.

Syntax

Command-line specification
bash / powershell
ksp env [OPTIONS]

Options & Flags

Option FlagDescription
--exportFormat output as `export KEY=VALUE` shell commands suitable for sourcing.

Example Usage

Example command
ksp env

Expected Output

KSP Environment Variables & Resolved Values:
  KSP_CONFIG_PATH       = C:\Users\kush\.ksp\ksp.toml (Default)
  KSP_TRUST_ANCHORS     = C:\Users\kush\.ksp\certs\root.cert
  KSP_LOG_LEVEL         = info
  KSP_DEFAULT_PORT      = 9876
  KSP_NO_TELEMETRY      = 1 (Active)

  Run `ksp env --export` to copy shell definitions.
Implementation Notes

Environment variables always take precedence over `ksp.toml` file settings during command execution.