当前位置:网站首页>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
边栏推荐
猜你喜欢
![[Cloud Native] Service Industry Case - Solutions for Unpredictable Concurrency Scenarios](/img/c7/3faa29dc374e2e16e59ac9b8ebf249.png)
[Cloud Native] Service Industry Case - Solutions for Unpredictable Concurrency Scenarios

【重磅来袭】教你如何在RGBD三维重建中获取高质量模型纹理

Excel使用Visual Basic Editor对宏进行修改

阿里CTO程立:阿里巴巴的开源历程、理念和实践

Configuration - Notes

How is the B+ tree index page size determined?

70行代码撸一个桌面自动翻译神器

极验深知v2分析

【云原生】阿里云ARMS业务实时监控

嵌入式开发:嵌入式基础知识——正确启动固件项目的 10 条建议
随机推荐
100w的数据表比1000w的数据表查询更快吗?
ISELED---氛围灯方案的新选择
Mysql database query is very slow. Besides the index, what else can be caused?
使用 TiUP 命令管理组件
flask获取post请求参数
视频加密的误解
Flink实时仓库-DWS层(状态编程,windowall的使用,数据保存到clickhouse)模板代码
Compile, link, notes - 3
HTTP缓存小结
The Prospects of the Metaverse and the Four Tracks
Debug - Notes
Store Limit 使用文档
Excel使用Visual Basic Editor对宏进行修改
tiup help
微服务该如何拆分?
websocket flv 客户端解封包
Our company has used gateway services for 6 years, dynamic routing, authentication, current limiting, etc., a stable batch!
golang modules initialization project
B+树索引页大小是如何确定的?
How to split microservices?