Skip to content

Latest commit

 

History

History
28 lines (18 loc) · 1.71 KB

tiup-command-install.md

File metadata and controls

28 lines (18 loc) · 1.71 KB
title summary
tiup install
The tiup install command is used to download and decompress component packages from the mirror repository for later use. If the component does not exist in the repository, it tries to download it and then runs it automatically. The syntax is "tiup install <component1>[:version] [component2...N] [flags]". There are no options, and the output includes download information or error messages if the component or version does not exist.

tiup install

The tiup install command is used for component installation. It downloads the component package of a specified version from the mirror repository and decompresses it in the local TiUP data directory for later use. In addition, when TiUP needs to run a component that does not exist in the mirror repository, it tries to download the component first and then runs it automatically. If the component does not exist in the repository, an error is reported.

Syntax

tiup install <component1>[:version] [component2...N] [flags]

<component1> and <component2> represent component names, and [version] represents an optional version number. If version is not added, the latest stable version of the specified component is installed. [component2...N] means that you can specify multiple components or multiple versions of the same component at the same time.

Option

None

Output

  • Normally outputs the download information of the component.
  • If the component does not exist, the The component "%s" not found error is reported.
  • If the version does not exist, the version %s not supported by component %s error is reported.

<< Back to the previous page - TiUP Reference command list