Installation directories and paths
Three directories
Section titled “Three directories”- Control-side Apex Home stores configuration, manifests, scripts, cache, reports, and logs.
- Artifact cache stores downloaded or imported packages and their index. By default it is
cache/under Apex Home. - Target Apex directory is set by
spec.apexDirand stores artifacts and scripts needed on target nodes.
If spec.apexDir is omitted, the target directory defaults to Apex Home: $HOME/.apex for the target user on Linux/macOS, or C:\ProgramData\TDengine\Apex on Windows. On a single-node local install, the control and target directories are the same.
The product installation, service, and business data directories are determined by product installers and Component Manifests. Do not infer them from Apex Home.
Default paths
Section titled “Default paths”| Item | Linux/macOS script install | Windows TDengineSetup |
|---|---|---|
| Apex CLI | /usr/local/bin/apex; $HOME/.local/bin/apex without write access |
C:\Program Files\TDengine\Apex\apex.exe |
| Apex Home | $HOME/.apex |
C:\ProgramData\TDengine\Apex |
| Configuration | apex_home/config.yaml |
C:\ProgramData\TDengine\Apex\config.yaml |
| Artifact cache | apex_home/cache |
C:\ProgramData\TDengine\Apex\cache |
| Docker assets | apex_home/docker |
C:\ProgramData\TDengine\Apex\docker |
Windows TDengineSetup puts program files in Program Files and runtime data in ProgramData. The current data directory is fixed; /apexhome and similar options do not change it.
For script installs, set the control-side paths with:
./install.sh -m apex -H /data/apex-home -C /data/apex-cacheThe config.yaml file can also set apex_home, cache, and manifest paths. Telemetry is enabled by default and can be disabled with telemetry_enabled: false.