MinIO 客户端 mc update 命令用来将 mc 更新到最新版本。语法如下:
C:\> mc update -h
Name:
mc update - update mc to latest release
USAGE:
mc update [FLAGS]
FLAGS:
--json enable JSON lines formatted output
--help, -h show help
EXIT STATUS:
0 - you are already running the most recent version 您已经在运行最新版本
1 - new update was applied successfully 新更新已成功应用
-1 - error in getting update information 获取更新信息时出错(1)检查并更新 mc,如下:
D:\server\minio>mc update
You are already running the most recent version of ‘mc’.