.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.
Fields
Section titled “Fields”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. |
Resolution order
Section titled “Resolution order”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.
Example
Section titled “Example”tcRoot: D:\plm\tcroottcData: D:\plm\tcdataupg: -u=infodba -pf=/path/to/password.pwf -g=dbajavaHome: D:\plm\java\jdkracPluginsDir: D:\plm\tcroot\portal\pluginsSee also
Section titled “See also”- Environment resolution — precedence and TUI behaviour.
- Environment variables — the variable equivalents.