当前位置:网站首页>Overview of TiUP commands
Overview of TiUP commands
2022-07-30 15:41:00 【Tim's Shop】
TiUP assumes the function of package manager in the TiDB ecosystem, and manages many components in the TiDB ecosystem, such as TiDB, PD, TiKV, etc.
Syntax
tiup [flags]
Use the --help command to get information about a specific command, with a summary of each command showing its parameters and their usage.Required parameters are shown in angle brackets, optional parameters are shown in square brackets.
represents the command name. For a list of supported commands, please refer to the following Command List, represents a componentname, please refer to the list of supported components belowComponent List.
options
-B, --binary
Print the binary file path of the specified component:
- Executing
tiup -B/--binarywill print the path to the latest stable version of the installedcomponent, ifIf the component is not installed, an error is reported - Executing
tiup -B/--binarywill print the: of the installed componentcode> The path where the version is located, if the version is not installed, an error will be reported - Data type:
BOOLEAN - This option is disabled by default, and the default value is
false.Add this option to the command and pass in thetruevalue or no value to enable this function.
Note
This option can only be used for commands of the form tiup [flags] .
--binpath (string)
Specify the path of the component to be executed: When executing a component, if you do not want to use the binary file in the TiUP image, you can use this parameter to replace it with the binary file of the custom path.
Note
This option can only be used for commands of the form tiup [flags] .
--skip-version-check
Note
This option is deprecated as of v1.3.0.
- Skip the validity check of the version number. The version number specified by default can only be Semantic Version.
- Data type:
BOOLEAN - This option is disabled by default, and the default value is
false.Add this option to the command and pass in thetruevalue or no value to enable this function.
-T, --tag (string)
Specify a tag for the started component: some components need to use disk storage during the execution process. TiUP will allocate a temporary directory as the storage directory for the current execution of the component. If you want to allocate a fixedDirectory, you can use -T/--tag to specify the directory name, so that multiple executions using the same tag can read and write to the same batch of files.
-v, --version
Print the version of TiUP
--help
Print help information
command list
TiUP contains many commands, and these commands contain many subcommands. Please refer to the corresponding links for the description of specific commands and their subcommands:
- install: Install Components
- list: View a list of components
- uninstall: Uninstall a component
- update: upgrade installed components
- status: View component running status
- clean: clean component data directory
- mirror: Mirror Management
- telemetry: telemetry switch
- completion: TiUP command completion
- env: View TiUP related environment variables
- help: View help documentation for a specific command or component
Component List
边栏推荐
猜你喜欢
随机推荐
Installing and Uninstalling MySQL on Mac
类和对象(下篇)
Mysql数据库查询好慢,除了索引,还能因为什么?
tiup clean
本地事务与分布式事务
(Popular Science) What is Fractional NFT (Fractional NFT)
极验深知v2分析
如何做好技术选型
Excel使用Visual Basic Editor对宏进行修改
TiUP FAQ
timed task corn
Flask入门学习教程
Load Base Split 使用文档
分布式前修课:MySQL实现分布式锁
Memory-mapped, bit-band operations
Our company has used gateway services for 6 years, dynamic routing, authentication, current limiting, etc., a stable batch!
Introduction to golang image processing library image
CMake库搜索函数居然不搜索LD_LIBRARY_PATH
华为云重磅发布开源软件治理服务——软件成分分析
Huawei issues another summoning order for "Genius Boys"!He, who had given up an annual salary of 3.6 million, also made his debut









