download

Command: download <packages>

Description: You can use this command to download one or more packages from a feed and save them locally. To do this, you can specify the package(s) directly in the command or enter them via a .config file when calling.

Use: tcpkg download <packages>... [options]

Arguments:

<packages>

If you do not want to export the installed packages, but a freely defined list of packages in a .config file, you can enter this list as an argument to the command. If no fixed version is specified, the version that is found first in the feeds according to their priorities will be downloaded.

Options:

-o, --output <output> (REQUIRED) Directory for saving downloaded packages

Use this option to specify the path where the file is to be saved. If you do not define a name here, "CurrentConfig.config" is used as the default.

-y, --bypass, --bypass-confirmation, --no-prompt

Use this option to prevent queries from being made during the download.

--exclude-dependencies

With this option, only the listed packages themselves are downloaded, but not the packages that depend on them.

-p, --pre, --include-prereleases

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

-n, --name <name>

This option defines a specific feed in which to search. If no version is specified, the latest version from this feed will be installed.

--all-sources

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

--no-cache

When using this option, no cached information is used for this command.

-i, --input <input>

If this option is used, a path to a .config file can be specified. The list contained in this file is then

--zip

When using this option, a .config file is also created containing all downloaded packages including their version. Together with the packages, everything is saved in a .tcpkgzip file. The contents of this zip can be installed on a second system using the import command.

--v3

When using this option, downloaded packages are stored in NuGet v3 format. In this format, an offline feed can be accessed more efficiently and quickly because certain information is already unpacked in the directory next to the actual package.