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 define a search term for which a list of packages with identical or partially matching package IDs is output. (Example: TwinCAT.Standard – result: list with TwinCAT.Standard.XAE, TwinCAT.Standard.XAR, TwinCAT.StandardRM.XAE) If only an identical result is to be returned, the option "--exact" must be added.

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.

--as-json

If this option is used, the output text is returned in JSON format. This implicitly sets the -y option.

Samples:

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