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-versions

This 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-prereleases

When using this option, pre-release versions are also listed.

-i, --installed

When using this option, all installed workloads/packages are listed.

-t, --type Workload

When using this option, all packages of the type Workload are listed.

-o, --outdated

When using this option, all packages that are available in a newer version are listed.

--exact

Using this option will only return an exact match for the entered package ID. Upper and lower case is taken into account.

--all-sources

When using this option, the latest version is listed across all configured feeds, regardless of their priority.

--no-cache

When 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