当前位置:网站首页>tiup update
tiup update
2022-08-05 00:15:00 【添香小铺】
命令 tiup update
用于升级已安装的组件或者自身。
语法
tiup update [component1][:version] [component2..N] [flags]
[component1]
表示要升级的组件名字[version]
表示要升级的版本,如果省略,则表示升级到该组件的最新稳定版本[component2...N]
表示可指定升级多个组件或版本。如果一个组件也不指定:即[component1][:version] [component2..N]
为空,则需要配合使用--all
选项或--self
选项。
升级操作不会删除旧的版本,仍然可以在执行时指定旧版本使用。
选项
--all
- 若未指定任何组件,则必须指定该选项。
- 数据类型:
BOOLEAN
- 该选项默认关闭,默认值为
false
。在命令中添加该选项,并传入true
值或不传值,均可开启此功能。
--force
- 若指定的组件版本已经安装,则默认跳过升级操作,指定该参数可强制升级已安装版本。
- 数据类型:
BOOLEAN
- 该选项默认关闭,默认值为
false
。在命令中添加该选项,并传入true
值或不传值,均可开启此功能。
--nightly
- 将指定组件升级到 nightly 版本。使用该参数的命令等价于
tiup update <component>:nightly
。 - 数据类型:
BOOLEAN
- 该选项默认关闭,默认值为
false
。在命令中添加该选项,并传入true
值或不传值,均可开启此功能。
--self
- 升级 TiUP 自身。
- 数据类型:
BOOLEAN
- 该选项默认关闭,默认值为
false
。在命令中添加该选项,并传入true
值或不传值,均可开启此功能。
输出
- 升级成功:
Updated successfully!
- 目标版本不存在:
Error: version %s not supported by component %s
边栏推荐
- Detailed explanation of common DNS resource record types
- MAUI Blazor 权限经验分享 (定位,使用相机)
- Getting started with 3D modeling for games, what modeling software can I choose?
- 一、爬虫基本概念
- what is MVCC
- Modelers experience sharing: model study method
- 导入JankStats检测卡帧库遇到问题记录
- 阅读笔记:如何理解DevOps?
- 什么是次世代建模(附学习资料)
- How to burn the KT148A voice chip into the chip through the serial port and the tools on the computer
猜你喜欢
隐私计算综述
[Cloud Native--Kubernetes] Pod Controller
Senior game modelers tell newbies, what are the necessary software for game scene modelers?
Modelers experience sharing: model study method
性能测试如何准备测试数据
从单体架构迁移到 CQRS 后,我觉得 DDD 并不可怕
【LeetCode】滑动窗口题解汇总
node使用redis
The master teaches you the 3D real-time character production process, the game modeling process sharing
Develop a SpaceX website based on the Appian low-code platform
随机推荐
【LeetCode】图解 904. 水果成篮
First, the basic concept of reptiles
从单体架构迁移到 CQRS 后,我觉得 DDD 并不可怕
gorm联表查询-实战
《MySQL入门很轻松》第2章:MySQL管理工具介绍
IDEA file encoding modification
【Unity编译器扩展之进度条】
论文解读( AF-GCL)《Augmentation-Free Graph Contrastive Learning with Performance Guarantee》
入门3D游戏建模师知识必备
Implementation principle of golang coroutine
三大技巧让你成功入门3D建模,零基础小白必看
Develop a SpaceX website based on the Appian low-code platform
gorm的Raw与scan
性能测试如何准备测试数据
KT148A语音芯片怎么烧录语音进入芯片里面通过串口和电脑端的工具
子连接中的参数传递
电子行业MES管理系统的主要功能与用途
软件质量评估的通用模型
Mysql_14 存储引擎
#yyds dry goods inventory #Switching equipment serious packet loss troubleshooting