list
Command: list <package>
Description: This command lists packages that are installed locally or available on the configured feeds. If the query is started via the feeds, the feeds are searched according to priority.
Use: tcpkg list <package> [options]
Arguments:
<package>This argument can be used to specify a search term and list packages whose package IDs match the search term exactly or partially. (Example: TwinCAT.Standard – result: list containing TwinCAT.Standard.XAE, TwinCAT.Standard.XAR, and TwinCAT.StandardRM.XAE) To return only exact matches for the package ID, add the “--exact” option.
Options:
-n, --name <name>This option defines a specific feed in which to search.
-a, --all, --all-versionsThis option can only be used in connection with a unique workload/package name and lists all available versions of this workload/package.
-p, --pre, --include-prereleasesWhen using this option, pre-release versions are also listed.
-i, --installedWhen using this option, all installed workloads/packages are listed.
-t, --type WorkloadWhen using this option, all packages of the type Workload are listed.
-o, --outdatedWhen using this option, all packages that are available in a newer version are listed.
--exactUsing this option will only return an exact match for the entered package ID. Upper and lower case is taken into account.
--all-sourcesWhen using this option, the latest version is listed across all configured feeds, regardless of their priority.
--no-cacheWhen using this option, no cached information is used for this command.
Examples:
tcpkg list to list all available packages
tcpkg list -i to list all locally installed packages
tcpkg list -t workload to list all available workloads