Skip to content

.tcli.env.yaml (env config)

.tcli.env.yaml holds machine-specific Teamcenter values needed by deploy and export. It lives at the project root alongside .tcli.yaml but is per-developer/agent/machine and must never be committed.

All fields are optional. A missing file is treated as an empty config, and any unset value falls back to its environment variable (see Resolution below).

Field Type Environment variable Description
tcRoot string TC_ROOT Teamcenter installation root.
tcData string TC_DATA Teamcenter data directory.
upg string UPG Teamcenter login credentials.
javaHome string JAVA_HOME Java JDK home.
racPluginsDir string RAC_PLUGINS_DIR RAC plugins directory.

Each value is resolved from .tcli.env.yaml, then its environment variable, then (TUI only) an interactive prompt. Headless commands never prompt: an unresolved value is a hard error. See Environment resolution for the full precedence rules.

tcRoot: D:\plm\tcroot
tcData: D:\plm\tcdata
upg: -u=infodba -pf=/path/to/password.pwf -g=dba
javaHome: D:\plm\java\jdk
racPluginsDir: D:\plm\tcroot\portal\plugins