Skip to content

CLI `env`

CommandPurposeImportant options / arguments
hike env initCreate a commented environment file.--force, --example
hike env showDisplay the current environment file contents.--reveal to show raw values
hike env listList supported environment variables.No extra options.
hike env getGet a value from the environment file.<VARIABLE>
hike env setSet a value in the environment file.<VARIABLE> <VALUE>
hike env unsetUnset a value in the environment file.<VARIABLE>
hike env validateValidate the current environment file.No extra options.
hike env pathPrint the effective environment-file path.No extra options.
Terminal window
hike env init
hike env list
hike env show
hike env validate

The two most important top-level overrides are:

  • HIKE_CONFIG_PATH for the active YAML configuration file
  • HIKE_ENV_PATH for the active runtime .env file