Maintenance utilities > Installation
tem
Runs the Teamcenter Environment Manager utility from a command line so that it can be used to install features or update templates without user interaction with the Teamcenter Environment Manager (TEM) graphical user interface. This utility can only be run from the application_root\install directory. Note The tem.sh/.bat file runs the Teamcenter Environment Manager (TEM) graphical user interface. For information about how to use the graphical user interface, see Teamcenter Environment Manager ─ Usage. Syntax tem -pass=password -ospass= -dbpass -install [-features=guid,template-or-data-model-name -path=directory] -config=configuration-ID -update [-templates=template-name1,template-name2,... {-full | -live} ] -config=configuration-ID -path=path1,path2,... -dryrun -minikit=target-directory -encrypt=string -legacy -guid -gatewayurl=Gateway-URL -patch=patch-location -publish | -nopublish -restart -config=config-ID -s -silent=silent-file -show -app=app-ID -sysinfo -help Arguments -pass=password Specifies the Teamcenter administrative user password. -ospass=password Specifies the operating system user password. -dbpass=password Specifies the database user password. -install Installs a feature. You must specify the following: -features=guid,template-or-data-model-name Specifies the features to install. -path=directory Specifies the path to the feature files. (Optional) -config=configuration-ID Specifies the configuration to install to in case there are multiple configurations available. Note Not all features can be installed or updated using the command line utility, however. Only those features that are data models or have subfeatures with data models apply. For example, the rich client feature cannot be installed or updated using the tem command line utilty. But the Teamcenter Automotive Edition feature can. -update Updates the data model. You must specify the following: -templates=template-name1,template-name2,... Specifies the templates to update. {-full | -live] Use the -full argument to specify a full update or -live to specify a live update. -path=path1,path2,... Specifies paths to the templates to update. (Optional) -config=configuration-ID Specifies the configuration to update in case there are multiple configurations available. Note Not all features can be installed or updated using the command line utility, however. Only those features that are data models or have subfeatures with data models apply. For example, the rich client feature cannot be installed or updated using the tem command line utilty, but the Teamcenter Automotive Edition feature can. -dryrun Tests whether the data model can be integrated successfully. This flag validates that all the needed files are present and viable and checks that the data model is in order, but it does not validate that the data model changes can actually be applied to the database. Certain contexts (like display rules depending on particular groups and roles) are not validated and may fail if the needed groups do not exist. -encrypt=string Encrypts a string. -gatewayurl=URL Specifies the URL to the Active Workspace Gateway, for example: http://myhost:3000 This argument must be specified when patching Active Workspace silently. -guid Generates a new GUID. -minikit=target-directory Creates a small deployable package. -nopublish Does not publish Active Workspace content to the File Repository. This argument is mutually exclusive with the -publish argument. The -nopublish or -publish argument must be specified when patching Active Workspace silently. -publish Publishes Active Workspace content to the File Repository. This argument is mutually exclusive with the -nopublish argument. Use this argument with the -gatewayurl= argument. The -nopublish or -publish argument must be specified when patching Active Workspace silently. -patch Specifies the location of the Teamcenter patch to apply. -restart Restarts a failed operation. -s Performs a silent installation. Use the -s argument to bypass the Teamcenter Environment Manager user interface and run the installation in the background. There is no feedback when the silent installation is running. Teamcenter Environment Manager (TEM) searches the current working directory for the configuration file to use. If a file name is specified for this argument, TEM uses the specified file as input for the silent installation. -show Shows information. You can specify the following: -app=app-ID Specifies the ID of the application. -features Lists features available on the media. -configs Lists configurations within an installation. -installed Lists installed features. -config=configuration-ID Specifies the configuration to use. -sysinfo Displays system information. -help Displays help text. Environment As specified in Setting up a Teamcenter command-line environment. Files As specified in Log files produced by Teamcenter. Restrictions None. Examples To install a feature, use the -install argument, for example: Copy tem -install -features=feature-name -path=location-of-template-files -p=password -verbose To perform a full model update, use the -update argument with the -full flag, for example: Copy tem -update -full -templates=template-name-1,template-name-2 -path=path1,path2 -pass=password To perform a live update, use the -update argument with the -live flag, for example: Copy tem -update -live -templates=template-name-1,template-name-2 -path=location-of-template-files -pass=password To install or update in dry run mode to validate the process before committing the changes to the database, use the -dryrun argument, for example: Copy tem -install -dryrun -features=feature-name -path=location-of-template-files -pass=password Or: Copy tem -update -full -dryrun -templates=template-name -path=location-of-template-files -pass=password To create a small deployable package, use the following command: Copy tem -minikit=target-directory -silent=slient-file -config=configuration-ID Related Topics Teamcenter Installation on Linux Using TEM Teamcenter Installation on Windows Using TEM Teamcenter Rich Client Installation on Linux Using TEM Teamcenter Rich Client Installation on Windows Using TEM
Source: https://docs.sw.siemens.com/documentation/external/PL20251212545240207/en-US/tc_help/utilities_reference/mna1737253705286/fpp1737253705372/tem_sh.html · retrieved Fri Jul 31 2026 00:00:00 GMT+0000 (Coordinated Universal Time)